Fixing compilation errors. #2
Moved method to RuleUtils. #2