protected function validateByOwnMethods(Validation $validation, array $input, array $ownRules, AppliesToResource $resource=null, $locale=null)
    {
        foreach ($ownRules as $key=>$keyRules) {
            $vars = [
                'input'    => $input,
                'key'      => $key,
                'value'    => Helper::value($input, $key),
                'resource' => $resource,
                'locale'   => $locale
            ];

            foreach ($keyRules as $ruleName=>$parameters) {
                if ($this->validateByOwnMethod($ruleName, $vars, $parameters)) {
                    continue;
                }

                $validation->addFailure($key, $ruleName, $parameters);
            }
        }
    }