Remove redundant rules