protected function getRulesNames(AllOf $rules): array
    {
        $rulesNames = [];
        foreach ($rules->getRules() as $rule) {
            try {
                $rulesNames[] = lcfirst((new ReflectionClass($rule))->getShortName());
            } catch (ReflectionException $e) {
            }
        }

        return $rulesNames;
    }