rhbz1139950 - refactor rule validation check