protected function getRules()
    {
        if ($this->rules instanceof \Closure) {
            return $this->rules->call($this, $this->form);
        }

        return $this->rules;
    }
protected function getRules()
    {
        if ($this->rules instanceof \Closure) {
            return $this->rules->call($this, $this->form);
        }

        return $this->rules;
    }
protected function getRules ( ) { if ( $ this -> rules instanceof \ Closure ) { return $ this -> rules -> call ( $ this , $ this -> form ) ; } return $ this -> rules ; }
Get field validation rules.

@return string
Get field validation rules .