add rules.clear