protected function printConfig()
    {
        $config = $this->getConfig();
        $output = $this->getOutput();

        foreach ($config->ruleSet()->getChildren() as $ruleSet) {
            $output->writeln('Using rule set ' . $ruleSet->getName());

            if ( ! $output->isDebug()) {
                continue;
            }

            if ( ! $ruleSet->trigger()) {
                $output->writeln('  No triggers found.');
                continue;
            }

            foreach ($ruleSet->trigger()->getAll() as $singleTrigger) {
                $output->writeln('  Contains trigger ' . $singleTrigger);
            }
        }
    }