Fixed removing deleted rules from RuleTable