validation rules added for each entity