Removes any previously dynamically created rule.