Edit the rule