public function createRuleValidator($rule, array $options = array())
    {
        // Starts with "not", such as notDigit, notEqual
        if (0 === stripos($rule, 'not')) {
            $options['negative'] = true;
            $rule = substr($rule, 3);
        }

        $object = 'is' . ucfirst($rule);
        $class = $this->wei->getClass($object);
        if (!$class || !class_exists($class)) {
            throw new \InvalidArgumentException(sprintf('Validator "%s" not found', $rule));
        }


        $options = $options + array('wei' => $this->wei) + (array)$this->wei->getConfig('is' . ucfirst($rule));

        return new $class($options);
    }