public function addRule($name, $args)
    {
        $this->options['rules'][$this->lastKey][$name] = $args;
        $this->lastRule = $name;

        return $this;
    }
public function addRule($name, $args)
    {
        $this->options['rules'][$this->lastKey][$name] = $args;
        $this->lastRule = $name;

        return $this;
    }
public function addRule ( $ name , $ args ) { $ this -> options [ 'rules' ] [ $ this -> lastKey ] [ $ name ] = $ args ; $ this -> lastRule = $ name ; return $ this ; }
Add rule for current field

@param string $name
@param mixed $args
@return $this
Add rule for current field