<form>
    <field>
        <id>rule.sequence</id>
        <label>sequence</label>
        <type>text</type>
        <help>order in which the rule will be evaluated (lowest first)</help>
    </field>
    <field>
        <id>rule.interface</id>
        <label>interface</label>
        <type>dropdown</type>
    </field>
    <field>
        <id>rule.interface2</id>
        <label>interface 2</label>
        <type>dropdown</type>
        <advanced>true</advanced>
        <help>secondary interface, matches packets going traveling from interface (1) to interface (2).
        </help>
    </field>
    <field>
        <id>rule.proto</id>
        <label>proto</label>
        <type>dropdown</type>
    </field>
    <field>
        <id>rule.source</id>
        <label>source</label>
        <type>text</type>
        <help>source ip or network, examples 10.0.0.0/24, 10.0.0.1</help>
    </field>
    <field>
        <id>rule.src_port</id>
        <label>src-port</label>
        <type>text</type>
        <help>source port number or well known name (imap,imaps, http,https,...)</help>
    </field>
    <field>
        <id>rule.destination</id>
        <label>destination</label>
        <type>text</type>
        <help>destination ip or network, examples 10.0.0.0/24, 10.0.0.1</help>
    </field>
    <field>
        <id>rule.dst_port</id>
        <label>dst-port</label>
        <type>text</type>
        <help>destination port number or well known name (imap,imaps, http,https,...)</help>
    </field>
    <field>
        <id>rule.direction</id>
        <label>direction</label>
        <type>dropdown</type>
        <advanced>true</advanced>
        <help>matches incoming or outgoing packets or both (default)</help>
    </field>
    <field>
        <id>rule.target</id>
        <label>target</label>
        <type>dropdown</type>
        <help>target pipe or queue</help>
    </field>
    <field>
        <id>rule.description</id>
        <label>description</label>
        <type>text</type>
    </field>
</form>