This test should be outside of the rule.  It doesn't depend on the context within the rule.