<?xml version="1.0"?>
<filterdescription>
<partset>
 <part name="name">
  <title>Name</title>
   <input type="optionlist" name="name-type">
    <option value="contains">
        <title>contains</title>
	<code>(contains "full_name" ${name})</code>
    </option>
    <option value="not contains">
        <title>does not contain</title>
	<code>(not (contains "full_name" ${name}))</code>
    </option>
    <option value="is">
        <title>is</title>
	<code>(is "full_name" ${name})))</code>
    </option>
    <option value="is not">
        <title>is not</title>
	<code>(not (is "full_name" ${name}))</code>
    </option>
    <option value="begin">
        <title>begins with</title>
	<code>(beginswith "full_name" ${name})</code>
    </option>
    <option value="end">
        <title>ends in</title>
	<code>(endswith "full_name" ${name})</code>
    </option>
   </input>
   <input type="string" name="name"/>
 </part>
 <part name="email">
  <title>Email</title>
   <input type="optionlist" name="email-type">
    <option value="contains">
        <title>contains</title>
	<code>(contains "email" ${email})</code>
    </option>
    <option value="not contains">
        <title>does not contain</title>
	<code>(not (contains "email" ${email}))</code>
    </option>
    <option value="is">
        <title>is</title>
	<code>(is "email" ${email})</code>
    </option>
    <option value="is not">
        <title>is not</title>
	<code>(not (is "email" ${email}))</code>
    </option>
   </input>
   <input type="address" name="email"/>
 </part>
 <part name="category">
  <title>Category</title>
   <input type="optionlist" name="category-type">
    <option value="contains">
        <title>contains</title>
	<code>(contains "category_list" ${category})</code>
    </option>
    <option value="not contains">
        <title>does not contain</title>
	<code>(not (contains "category_list" ${category}))</code>
    </option>
    <option value="is">
        <title>is</title>
	<code>(is "category_list" ${category})</code>
    </option>
    <option value="is not">
        <title>is not</title>
	<code>(not (is "category_list" ${category}))</code>
    </option>
   </input>
   <input type="optionlist" name="category">
      <dynamic func="e_util_get_category_filter_options"/>
   </input>
 </part>
 <part name="sexp">
   <title>Expression</title>
   <input type="rawcode" name="rawcode"/>
  </part>
</partset>

  <ruleset>

    <rule grouping="any" source="demand">
      <_title>Name contains</_title>
      <sources/>
    </rule>
    
    <rule grouping="any" source="demand">
      <_title>Email begins with</_title>
      <sources/>
    </rule>
    
    <rule grouping="any" source="demand">
      <_title>Any field contains</_title>
      <sources/>
    </rule>
 
  </ruleset>
</filterdescription>
