Skip to main content

Rules and Templates

Rules live in policies. In the sidebar, open Transaction monitoring, then Policies: each policy holds the rules of one monitoring policy, in published versions. The Default policy is the one in force: the rules of its latest published version are evaluated on every ingested transaction. Each fired rule contributes a probability, and the noisy-OR combination of all contributions decides Allow / Review / Block.

Permissions

Admin and AML Officer users can create and change policies. Operator users can read them. See Manage Users.

Policies​

Click New policy to create one. Choose how it starts:

  • Import from a document: upload your monitoring policy (a PDF, plain text, or Markdown, up to 20 MB). Its requirements become clauses, and the ones a rule can express get a proposed rule for you to review.
  • Create manually: start From templates (the rules a jurisdiction's templates suggest, see Rule templates), Copy a policy (the rules of the latest published version of another policy), or Start from scratch.

Either way, you land on the policy's Draft: click Add rule to write a rule, or Edit on a rule to change it, then Publish the draft as the policy's next version.

On the policy page, the Current version tab shows the published version and its rules, and the Versions tab the latest published version and every version before it. New version (or Continue the setup while a draft is under way) opens the draft again. Make default makes the policy the one in force: the rules of its latest published version replace the rules running in real time, in one step. A policy must have a published version before it can be made the default.

Anatomy of a rule​

A rule is made of:

  • Rule key: a stable lowercase slug (a–z, 0–9, - and _) that identifies the rule across versions.
  • Name and description: for your reviewers.
  • Condition: when it matches, the rule fires and contributes its probability to the combined P(risk).
  • Probabilities: how much a firing contributes, between 0 and 1.
  • Raise alert: whether a firing also opens an alert, which joins the customer's case, and notifies your webhook.

The condition builder​

Add rule and Edit in a policy's draft open the rule builder. Conditions are built visually as nested AND / OR groups of field comparisons (equals, not equals, greater/less than, in a set, contains, is empty / not empty).

Fields come from five sources. Each field is defined, with units and examples, in Condition fields. Amounts use minor units (cents, not euros): see that glossary before setting cutoffs.

Transaction

Amount (minor units), currency, direction, payment status, counterparty name / account / country, origin country, channel, rail, payment description, and derived time fields, hour of day, day of week, outside business hours (driven by the timezone in Settings)

Lists

Matches against your managed lists, counterparty blocklist / allowlist hits, country-risk list hits, keyword list hits

Identity

Signals from the verified identity behind the transaction, KYC risk score, account age, and the 90-day historical average transaction amount

Velocity

Rolling counters over recent activity, deposit / withdrawal / transfer sums and counts over 1h, 24h, 7d and 30d, 24h net flow, and per-counterparty inbound value and distinct-identity counts. See Velocity

Counterparty

The counterparty's IBAN and the screening of the bank behind it. See Counterparty bank screening

Boolean vs banded rules​

There are two rule types:

  • Boolean signal: the rule fires at a single probability whenever its condition matches. Example: counterparty is on the blocklist → contribute 0.9.
  • Banded metric (the Banded metric rule switch): on top of the condition, a numeric field (the metric) is banded against low / medium / high cutoffs, and each band contributes its own probability. Example: withdrawal amountMinor banded at 100000 / 1000000 / 10000000 (that is €1,000 / €10,000 / €100,000 when the currency is EUR) → contribute 0.1 / 0.4 / 0.7 depending on where the amount lands. Cutoffs must be ordered (low ≤ med ≤ high), and any subset of them can be provided. Always pair amount cutoffs with a currency condition.

Any integer field can be the metric, which is what makes the velocity counters useful: banding velocity.depositCount24h at 5 / 10 / 20 turns "unusual frequency" into three graded contributions instead of one cliff edge.

Versioning​

Rules change only through the policy that holds them: edit the policy's draft and publish it. Publishing the default policy's draft replaces the rules running in real time as soon as it is published, so the change is live on the very next ingested transaction. Publishing a policy that is not the default does not change the rules running in real time. Published versions are frozen and stay readable. Each rule also has a read-only page with its Version history.

Because ingested transactions record the exact rule versions that fired, historical decisions remain explainable regardless of how the rule set evolves.

The auto-close allowlist of the agentic alert review is keyed by the rule's condition. A new version that changes the condition drops the rule from the allowlist; add it again under Settings if the agent should still be allowed to close its alerts.

Backtesting​

Before publishing a rule, you can backtest it from the rule builder's Backtest panel: a dry-run of the rule, as currently edited, against your stored transactions over a chosen Scan window (days). Click Run backtest. The backtest reports:

  • how the simulated decisions compare with the stored baseline (Allow / Review / Block distribution);
  • how often the candidate rule would fire, per band for banded rules;
  • a sample of fired transactions with their simulated decision and P(risk).

You can run the candidate rule alone or combined with the draft's other rules or the default policy's rules; a candidate sharing an enabled rule's key replaces it for the run. Nothing is persisted or billed, the backtest uses the same validation and evaluation core as live ingestion.

Templates vs rules​

A rule is what the engine evaluates: a condition you own, versioned, with probabilities you set. You can add a rule from a blank builder to a policy's draft at any time.

A template is a starter: a pre-filled copy of a known pattern, tagged with a jurisdiction and often a regulator citation. Starting a policy from templates puts the jurisdiction's templates into the draft as ordinary rules, marked From template. After that they are yours: edit, retune, or remove them before you publish.

The cards you see (“Causale anomala”, “Controparte in paese ad alto rischio”, large deposit, night-time activity, …) are examples, not the full universe of rules you can run. Banca d’Italia / UIF indicatori di anomalia cover far more typologies than the seeded cards. If a pattern is missing, add a rule from scratch over the condition fields, or edit the closest template rule and change the condition.

Rule templates​

The template catalog is jurisdiction-tagged, with regulator citations (for example UIF indicatori di anomalia, FCA/JMLSG) plus universal primitives that apply anywhere. It is offered when you create a policy: choose Create manually, then From templates, and pick a Jurisdiction. Choose a jurisdiction's templates lists the jurisdictions with the rules each one puts in the policy, with your organization's country marked Suggested for your country. Click Use these templates.

What starting from templates does​

Each template becomes an ordinary rule in the policy's draft, marked From template. Before you publish, open a rule with Edit to set, for this copy:

  • Rule key, name, description: how it will show up in the policy and in fired-rule provenance.
  • Low / medium / high cutoffs: only for banded templates. These are the numeric thresholds of the metric (for amount templates, in minor units).
  • Probabilities per band (or the single probability of a boolean template).
  • Raise alert: whether a firing also opens an alert and hits your webhook.
  • The condition, like any other rule.

Think of it as: pick a jurisdiction → set your policy thresholds and backtest → publish, and make the policy the default → it is live on the next ingested transaction. Cutoffs you do not yet know can be agreed at onboarding and filled in then; you can also retune them later in a new version.

Catalog​

The jurisdictions include Universal, Italy, and the United Kingdom. The in-product catalog is always the live list; the tables below are the current curated set.

Universal (any book)

TemplateWhat it catches
Blocklisted counterpartyCounterparty account is on a block list (hard block through the combined score).
High-risk country (either leg)Origin or counterparty country is on an enabled country-risk list.
Suspicious keyword in descriptionPayment description matches a keyword list (SEPA causale).
Large deposit / large withdrawalAmount banded in minor units; adjust cutoffs to your currency.
Night-time activityHour of day 00:00–05:59 in the organization timezone. Weak signal; accumulates with others.
New account, high valueIdentity verified less than 24 hours ago, amount banded.

Italy (UIF indicatori di anomalia, Provvedimento 12/05/2023, applicable from 1 January 2024)

TemplateIndicator (indicative)
Controparte in paese ad alto rischio (lista configurata)Either country leg on your configured Italian risk list. Indicatore 6.
Causale anomalaPayment description matches the Italian keyword pack. Art. 5(1), parametri qualitativi di selezione.
Operatività frazionata (structuring)Repeated EUR cash deposits just under the €10,000 threshold within 24h, banded on velocity.depositCount24h. Indicatore 13, sub-indice 15.11.
Movimento rilevante in contantiEUR movement on the cash channel, banded by amount. Indicatore 13; art. 4(5)(d).
Carta utilizzata fuori orarioCard activity outside 08:00–19:59 in the organization timezone. Weak proxy; does not raise an alert on its own. Sub-indice 15.10.
Operatività crypto di importo rilevanteEUR movement on a crypto channel or rail, banded by amount. Indicatore 26 and sub-indici 26.1–26.5.

United Kingdom (JMLSG / FCA)

TemplateIndicator (indicative)
High-risk jurisdictionFATF/HMT-style country-risk list hit.
Unusual transaction frequencyDeposit count over 24h, banded on velocity.depositCount24h at 5 / 10 / 20.
The Italian templates are selection signals, not determinations

Article 4(5) of the Provvedimento is explicit that the mere occurrence of an indicator or sub-index — or the use of cash — is not by itself sufficient grounds for a report. The suggested cutoffs and probabilities shipped with these templates are product starter values for you to calibrate; they are not prescribed or endorsed by the UIF.

The velocity-based templates (Operatività frazionata, Unusual transaction frequency) are live and firing: they band on the rolling counters documented under Velocity.

You can also encode, as ordinary rules, patterns the seeded cards do not name: round amounts, just-under-threshold single payments, weekend activity, new-account plus high-risk country, allowlisted counterparties as suppressors, KYC risk score on the identity, spend against the identity's own 90-day average, velocity over any of the four windows, and any AND/OR combination of the glossary fields. That list is still not exhaustive; the builder is.

Who curates the catalog

The template catalog itself is platform-curated: your organization can start policies from templates, but not add, edit, or remove catalog entries. If a typology you need is missing, either add it as an ordinary rule or ask Zyphe to add it to the catalog. A template Zyphe retires disappears from the catalog and can no longer be used; rules you already created from it keep working and keep their provenance.