Moved common functionality of RulesCollision into CollisionGroup