private function collectRulesFor($parentSetting, $filterSettings)
    {
        $childInformation = $this->database
            ->createQueryBuilder()
            ->select('*')
            ->from('tl_metamodel_filtersetting')
            ->where('pid=:pid')
            ->andWhere('enabled=1')
            ->orderBy('sorting', 'ASC')
            ->setParameter('pid', $parentSetting->get('id'))
            ->execute();

        foreach ($childInformation->fetchAll(\PDO::FETCH_ASSOC) as $item) {
            $childSetting = $this->createSetting($item, $filterSettings);
            if ($childSetting) {
                $parentSetting->addChild($childSetting);
            }
        }
    }