remove bad rule