WCM-2 Moves code to BaseRule