rhbz1139950 - refactor rule validation check
rhbz1139950 - update api verison