Cleanup unused rules