rm unused rules