Added when property validator
WhenProperty and UnlessProperty validations added