private function getRulesWithRequirement(string $requiredRule): array
    {
        $processedTagRules = $this->getProcessedTagRules();

        $processedTagRules = array_filter($processedTagRules, function (array $tagRule) use ($requiredRule): bool {
            return array_key_exists($requiredRule, $tagRule);
        });
        return $processedTagRules;
    }