fix manually removing rules, code review