Update Model.php

Check if field hasRules and if field has specific validation rules