handle resetRule, print out the rule after