Fixed collisions in RuleManager.cc