Need Help to design a custom rule for CLK and the others

I am trying to design a new custom rule for the 3W rules for the net CLK and other objects(excluding pads).
Here is my rule:

(rule "3W between *CLK and others"
	(constraint clearance(min 13mil))
	(condition "(A.NetClass == 'CLK') && (A.Type == 'Track') && (B.Type != 'Pad')")
)

But it not effect. If I modify the rule to:

(rule "3W between *CLK and others"
	(constraint clearance(min 13mil))
	(condition "(A.NetClass == 'CLK') && (A.Type == 'Track') ")
)

The rules will take effect but the traces within the pads and the pads within the package will report errors.I think the logic is correct, please help!

Metacomment: using “preformatted text” for character by character text is important, the forum software messes up som characters orherwise

With the first rule, select a CLK track and a different object. use the “Clearance Resolution” tool in the “Inspect” menu. What does it say?