Bug fix in model validation rules transformation