Collaborate on Optimizing a new Custom Rule

(from my custom_filters.xml)

People filter

  <filter name="People @ Place" function="and">
      <rule class="MatchesEventFilter" use_regex="False">
        <arg value="@myPlace"/>
      </rule>
    </filter>

Event Filter

 <filter name="@myPlace" function="and">
      <rule class="MatchesPlaceFilter" use_regex="False">
        <arg value="myPlace"/>
      </rule>
    </filter>

Place Filter

 <filter name="myPlace" function="or">
      <rule class="IsEnclosedBy" use_regex="False">
        <arg value="P0255"/>
        <arg value="1"/>
      </rule>
    </filter>