Skip to main content
Use the Rules tab of a context in the Matcher module of Lerian Console to manage its match rules. The rules tell the match engine how to pair transactions across the two sides of the context.

Accessing the Rules tab


1
In the Matcher sidebar, go to Configure → Contexts.
2
Click the name of a context to open its page.
3
Select the Rules tab.

Rules list


The tab lists the match rules in priority order. Rules evaluate from top to bottom, and the first match wins. Each row shows the position number, the strategy badge, and a short summary of the configuration. A row can also show up and down arrows, an edit button, and a delete button. The module sets the priority of a new rule for you. The form has no priority field. To change the order, use the up and down arrows.

Creating a rule


1
On the Rules tab, click New rule. The New rule sheet opens.
2
Select a Strategy:The fields of the strategy appear below it. See Rule types.
3
Optionally, click Advanced settings to show more fields.
4
Click Save.
You cannot change the strategy of a rule after you create it. To change it, delete the rule and create it again.
Matcher never confirms a match from a Fuzzy or a Date lag rule automatically. These rules propose matches for review.

Rule types


Exact

Matches transactions when the selected fields are equal. Top-level switches: Advanced settings adds:

Tolerance

Matches transactions when the amounts and dates are within a band. Top-level fields:
Both tolerances start at 0. A value of 0 is valid.
Advanced settings adds:

Date lag

Matches transactions that occur within a set number of days of each other. Top-level fields:
Max days must be equal to or greater than Min days. If you turn off Include the min and max days, Min days must be more than 0.
Advanced settings adds:

Fuzzy

Matches transactions by approximate reference similarity, with optional checks on amount, currency, and date. Top-level fields: Advanced settings adds:

Allocation settings


Each strategy has an Allocation (1:N and N:1) block in Advanced settings:

Previewing a rule


On an Active context, the rule sheet also shows a Preview matches panel. Use it to test the rule before you save it.
1
Fill in the rule fields.
2
In Preview matches, click Run preview.
The panel shows how many pairs Would match, the Unmatched left and Unmatched right counts, and up to 25 would-match pairs. The preview forms 1:1 pairs only. It does not apply fee normalization, FX variance bands, or allocation, so a live run can match more. The preview saves nothing. When you change a field, run the preview again.

Editing a rule


Click the edit button on a rule. The Edit rule sheet opens. The Strategy field stays locked. Change the other fields and click Save.

Reordering rules


Use the up and down arrows on a row to move the rule. Rules evaluate from top to bottom, and the first match wins.

Deleting a rule


Click the delete button on a rule. A dialog names the rule type and its priority and asks you to confirm. Click Confirm. The other rules keep their order.