<filter name='testcase'>
  <uuid>01a992d2-f8c8-7c27-f69b-ab0a9d377379</uuid>

  <!-- allow incoming ssh connections -->
  <rule action='accept' direction='in' priority='100'>
    <tcp dstportstart='22'/>
  </rule>

  <!-- allow incoming ICMP (ping) packets -->
  <rule action='accept' direction='in' priority='200'>
    <icmp/>
  </rule>

  <!-- allow all outgoing traffic -->
  <rule action='accept' direction='in' priority='300'>
    <all/>
  </rule>

  <!-- drop all other traffic -->
  <rule action='drop' direction='inout' priority='1000'>
    <all/>
  </rule>

</filter>
