moving validation rules into the entity description