removed calls to removeRules()