Custom DRC to exclude some solder mask bridge violations

I do a lot of RF work and have need for solder mask apertures over CBCPW (conductor backed coplanar waveguide). This aperture bridges the RF net and the ground net. This is by design. I would like to write a custom drc rule that says:

(rule “RF soldermask”
( constraint INSERT_SOMETHING_HERE)
( condition “A.NetClass == ‘CBCPW 50’ && B.NetName == ‘GND’”))

I would imagine that the INSERT_SOMETHING_HERE would be something like ignore_solder_mask_bridge or something like that. It seems there would not be a min value as this is a boolean rather than a measurement.

Example board for context:
example.tar.bz2 (17.7 KB)
Example error messages:


3D view of the board:

P.S. I’d really like not to completely shut off this useful error as I do a lot of mixed boards and have had problems with solder mask apertures being a bit too large in the past (before the DRC rule existed).