Refacor the validation rules assertions.