create a validationrule
some problems with validations