How to define and then permanently remove a rule.