Added the new versioning validation for policy and policy type