public function restrict_fields($rules) { $rules->name_should_not_be('empty'); $rules->slug_should_not_be('empty'); }