Please note Altium has made changes and improvements after the Creepage rule was introduced in AD20.
PCB Creepage Calculator
In AD20 Altium introduced Creepage Rules
See AD20 Creepage Rule Bug
Queries with InLayerClass do NOT work :(
Note that Creepage and Clearance Rules are not the same thing.
Creepage is the length of path on the surface. Slots can be used to the path length.
Clearance the shortest distance between two points.
Slots and Creepage rules should not be used to satisfy Clearance requirements.
Example Clearance Rule
Note: InlayerClass('Outside') is only used in the Second Object Matches.
Related Links:
That's it !