remove rules repeatedly