<?xml version="1.0" ?>
<container xmlns="http://symfony.com/schema/dic/services"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
    <services>
        <service id="Shopware\Core\Framework\Rule\Collector\RuleConditionRegistry">
            <argument type="tagged_iterator" tag="shopware.rule.definition"/>
        </service>

        <service id="Shopware\Core\Framework\Rule\RuleIdMatcher"/>

        <service id="Shopware\Core\Framework\Rule\Container\AndRule">
            <tag name="shopware.rule.definition"/>
        </service>

        <service id="Shopware\Core\Framework\Rule\Container\NotRule">
            <tag name="shopware.rule.definition"/>
        </service>

        <service id="Shopware\Core\Framework\Rule\Container\OrRule">
            <tag name="shopware.rule.definition"/>
        </service>

        <service id="Shopware\Core\Framework\Rule\Container\XorRule">
            <tag name="shopware.rule.definition"/>
        </service>

        <service id="Shopware\Core\Framework\Rule\Container\MatchAllLineItemsRule">
            <tag name="shopware.rule.definition"/>
        </service>

        <service id="Shopware\Core\Framework\Rule\ScriptRule">
            <tag name="shopware.rule.definition"/>
        </service>

        <service id="Shopware\Core\Framework\Rule\DateRangeRule">
            <tag name="shopware.rule.definition"/>
        </service>

        <service id="Shopware\Core\Framework\Rule\SimpleRule">
            <tag name="shopware.rule.definition"/>
        </service>

        <service id="Shopware\Core\Framework\Rule\SalesChannelRule">
            <tag name="shopware.rule.definition"/>
        </service>

        <service id="Shopware\Core\Framework\Rule\TimeRangeRule">
            <tag name="shopware.rule.definition"/>
        </service>

        <service id="Shopware\Core\Framework\Rule\WeekdayRule">
            <tag name="shopware.rule.definition"/>
        </service>

        <service id="Shopware\Core\Framework\Rule\Api\RuleConfigController"
                 public="true">
            <argument type="tagged_iterator" tag="shopware.rule.definition"/>

            <call method="setContainer">
                <argument type="service" id="service_container"/>
            </call>
        </service>
    </services>
</container>
