If query rule is used often or it's parameters should be accessible through GUI it is possible to define generic query rule in the template file. This generic definition can be reused by several schema files and will also make it easier to add rules to the schema.
Figure: Form with details for template query.
Figure above presents the form for Activity template rule from TEMP1 template file (see XML sample).