<form>
    <field>
        <id>pac.match.name</id>
        <label>Name</label>
        <type>text</type>
        <help>Select a name for this match.</help>
    </field>
    <field>
        <id>pac.match.description</id>
        <label>Description</label>
        <type>text</type>
        <help>Enter a description for this rule. The description should help you to identify this rule.</help>
    </field>
    <field>
        <id>pac.match.negate</id>
        <label>Negate</label>
        <type>checkbox</type>
        <help>Negate this match. For example you can match if a host is not inside a network.</help>
    </field>
    <field>
        <id>pac.match.match_type</id>
        <label>Match Type</label>
        <type>dropdown</type>
        <help>Select the type of the match. Depending on the match, you will need different arguments.</help>
    </field>
    <field>
        <id>pac.match.network</id>
        <label>Network</label>
        <type>text</type>
        <help>Enter the network address to match in CIDR notation for example like 127.0.0.1/8 or ::1/128</help>
    </field>
    <field>
        <id>pac.match.hostname</id>
        <label>Host Pattern</label>
        <type>text</type>
        <help>Enter a hostname pattern like *.opnsense.org.</help>
    </field>
    <field>
        <id>pac.match.url</id>
        <label>URL Pattern</label>
        <type>text</type>
        <help>Enter a URL pattern like forum.opnsense.org/index*.</help>
    </field>
    <field>
        <id>pac.match.domain_level_from</id>
        <label>Domain Level From</label>
        <type>text</type>
        <help>Enter the minimum amount of dots in the domain name.</help>
    </field>
    <field>
        <id>pac.match.domain_level_to</id>
        <label>Domain Level To</label>
        <type>text</type>
        <help>Enter the maximum amount of dots in the domain name.</help>
    </field>
    <field>
        <id>pac.match.time_from</id>
        <label>Beginning Hour</label>
        <type>text</type>
        <help>Enter start hour (minimum 0).</help>
    </field>
    <field>
        <id>pac.match.time_to</id>
        <label>Last Hour</label>
        <type>text</type>
        <help>Enter the end time (maximum 23, minimum 0 or start time).</help>
    </field>
    <field>
        <id>pac.match.date_from</id>
        <label>From Month</label>
        <type>dropdown</type>
        <help>Enter the first month.</help>
    </field>
    <field>
        <id>pac.match.date_to</id>
        <label>To Month</label>
        <type>dropdown</type>
        <help>Enter the last month (maximum December, minimum January or From Month).</help>
    </field>
    <field>
        <id>pac.match.weekday_from</id>
        <label>From Day</label>
        <type>dropdown</type>
        <help>Enter the first day of the week.</help>
    </field>
    <field>
        <id>pac.match.weekday_to</id>
        <label>To Day</label>
        <type>dropdown</type>
        <help>Enter the last day of the week.</help>
    </field>
</form>
