<?xml version="1.0" encoding="utf-8"?>
<form>
    <fieldset name="display_conditions">
        
        <field name="display_conditions_type" type="radio" 
            label="COM_RSTBOX_DISPLAY_POPUP" 
            description="COM_RSTBOX_DISPLAY_CONDITIONS_TYPE_DESC"
            class="btn-group">
                <option value="">COM_RSTBOX_DISPLAY_CONDITIONS_TYPE_ALL_PAGES</option>
                <option value="custom">COM_RSTBOX_DISPLAY_CONDITIONS_TYPE_CUSTOM</option>
        </field>
        
        
        
        <field name="rules" type="ConditionBuilder"
            label="NR_PUBLISHING_ASSIGNMENTS"
            description="COM_ENGAGEBOX_PUBLISHING_RULES_DESC"
            hiddenLabel="true"
            showon="display_conditions_type:custom"
            include_rules="Joomla\Menu,URL"
            exclude_rules_pro="true"
        />
        
        
    </fieldset>
</form>