{# Match card of the rule editor. POST /rules/sample swaps it for a new sample. #}
Match which transactions this rule targets
{% for f in field_suggestions %}{% endfor %} {% if vm.field_rows %}
Fields of the sample transaction
Select each field that the rule must match. The first selected field is the main match. Each other selected field must also match.

Select at least one field.

{# The selected rows post the same fields as the editor without a sample. The server derives the rule type from field_target. #} {% else %}
Text to match, or a regular expression if pattern is "regex". To see the fields of a transaction, select "Use as sample" in the preview.
{% endif %}
Context filters
The rule applies only to transactions that match each selected filter.

Advanced conditions
Use these for OR logic, or for a field that the sample does not hold. The main match must always match. The rule checks the other conditions from top to bottom: an OR row passes when the conditions above it pass, or when the OR row itself matches.

No advanced conditions.