protected function getInstanceRule($name, array $arguments)
    {
        $reflect = new \ReflectionClass($this->rules[$name]);
        return $reflect->newInstanceArgs($arguments);
    }
protected function getInstanceRule($name, array $arguments)
    {
        $reflect = new \ReflectionClass($this->rules[$name]);
        return $reflect->newInstanceArgs($arguments);
    }
protected function getInstanceRule ( $ name , array $ arguments ) { $ reflect = new \ ReflectionClass ( $ this -> rules [ $ name ] ) ; return $ reflect -> newInstanceArgs ( $ arguments ) ; }
Returns instance rule.
@param string $name name of rule
@param array $arguments
@return Rule
Returns instance rule .