I have finished routing a PCB in Altium (v17) and am resolving design rules violations.
In short, everything checks out except differential pairs that are violating the
Electrical > Clearance rule which has a minimum clearance of 0.152mm for all objects. My differential pairs have a minimum clearance of 0.127mm within the same pair.
I created a new Clearance rule named Clearance_Diff which requires the first and second objects to both match a custom query
IsDifferentialPair, and specifies a clearance value of 0.127mm. Testing the query correctly selects the number of differential pairs I have on the PCB.
The violation occurs whether the new rule is prioritized above or below the previous clearance rule.
How do I set up design rules such that differential pairs won't violate the general clearance rule?