removal of some useless rules