Altium avoiding a collision check
If those SM pads are unique then create a "pad class" that contains those SM pads then use that "pad class" for your new rule. I am not sure why you are using the keepout layer for this rule. The keepout layer/track is too global for a specific rule.

...something like this.