add code to remove the rules which have been tagged.