public function getAllDirectories()
    {
        $directories = [];
        foreach ($this->rulesets as $ruleset) {
            $dirs = GeneralUtility::trimExplode(',', $ruleset['directories_config'], true);
            $directories = array_merge($directories, $dirs);
        }
        $directories = array_unique($directories);
        asort($directories);
        return $directories;
    }