Skip to main content

KYT Rule Builder

The Rule Builder is where you create and manage the rules that Transaction Trust Monitoring (TTM) runs against your transactions. Each rule describes a pattern to catch and the action to take when a transaction matches it. Rules are built without code, can be tested against past transactions before they go live, and take effect as soon as they are published.

info

The Rule Builder is available from the Rule Builder item in the Back Office sidebar when Transaction Monitoring (KYT) and the Rule Builder are enabled for your account. KYT accounts without the Rule Builder manage their rules under Settings > Transaction Rules instead. See Settings > Transaction Rules.

Rules Library​

The Rule Builder opens on the Rules Library, which lists all of your rules.

ColumnDescription
RuleThe rule's short ID (for example R-297), name and description.
DisciplineAML or Fraud.
Published ByWho published the rule, and when.
TypologyThe type of activity the rule targets.
PriorityHigh, Medium or Low.
Rule SetThe rule sets the rule belongs to.

A rule name can carry these badges:

  • Draft: a rule that has been saved but never published.
  • Unpublished: a live rule with changes that have not been published yet.
  • An AI icon: the rule was created with AI.

Finding Rules​

  • Search by: enter a rule ID or rule name.
  • All Discipline and All Typologies: filter by discipline or typology.
  • More Filters: filter by priority (All Priorities) and rule set (All Rule Sets), then click Apply.

Working with a Rule​

Hover over a rule to see its actions:

  • Version History: shows the rule's history. See Version History.
  • Backtest: opens the rule on its Backtest tab. See Live Preview and Rule Testing.
  • Edit: opens the rule in the editor. You can also click the row.
  • Delete: deletes the rule after you confirm.
  • On/off toggle: pauses a live rule or resumes a paused one. A paused rule stays in the library but is not evaluated.

Saved drafts have only Edit and Delete.

Creating a Rule​

Click Create New in the Rules Library.

1. Rule Details​

In Create New Rule, enter:

  • Rule Name (up to 60 characters)
  • Typology
  • Discipline: AML or Fraud
  • Rule Set: one or more rule sets. You can create a new rule set from this list. See Rule Sets.
  • Description (up to 500 characters)

Click Continue. Nothing is saved until you publish or save a draft. You can change these details later with the edit icon next to the rule name.

2. Conditions​

Under When these conditions are met, click Add a Condition and choose a condition type:

Condition typeWhat it checks
Value CheckA single datapoint, attribute or profile field against a value, for example amount greater than 1000. Supports comparisons such as equals, greater than, in a list, between two values, undefined and empty, and comparing against another attribute.
Activity Over TimeAn aggregate over a time window, for example the count or sum of transactions in the last 24 hours, compared against a threshold. Time windows can be minutes, hours, days, weeks, months (rolling 30-day windows) or a custom range.
Compare MetricsOne value or aggregate against another value or aggregate, each with an optional multiplier.
GroupA nested group of conditions.

Connect conditions with AND, OR, AND NOT or OR NOT, and drag conditions to reorder them. A plain-English preview of the rule updates as you build it.

To see which datapoints and attributes you can use, click Discover Attributes.

3. Actions​

Under Then perform these actions, set:

  • Select Action:

    TS and TM rule actions

    TypeActionPaymentResultNotes
    TSAcceptReleasedNo alert. The hit is logged on the transaction
    TSManual ReviewOn holdTS alert created and routed by severity
    TSDeclineStoppedTS alert created, tagged Auto-declined, for audit
    TMCreate AlertNo changeTM alert created with priority High, Medium or Low. If the customer has an open TM alert, the hit is added to it
    TMUpdate RiskNo changeAdds points to the customer risk score. No alert. Points expire after a set period (example 90 days)Priority is disabled for this action. Lowering the score is manual
  • Set Priority: Low, Medium or High. When more than one rule matches the same transaction, priority decides which one's decision applies: a High-priority rule always takes precedence over Medium or Low, whatever actions they carry. Within the same priority, the action breaks the tie, in this order: Whitelist, Blacklist, Approve, Decline, Manual Review, then a custom action — and if two rules at the same priority carry the same action, the older rule wins.

  • Set Score: the score the rule sets on a matching transaction, from 0 to 100. Choose Static for one score, or Random Score for a score within a minimum and maximum.

4. Review and Publish​

Click Review & Publish if you can publish directly, or Review Rule otherwise (see Who Can Publish a Rule). The button is enabled once the name, typology, discipline, action, priority, score and at least one condition are set, and something has changed since the last publish.

The Review Rule Details window shows the rule's typology, discipline, rule set, priority, score, action and condition.

If the new rule overlaps with an existing rule of the same typology and similar conditions, you are warned that keeping both may create duplicate alerts. Choose Replace Existing Rule or Keep Both Rules.

If you can publish directly, clicking Publish Rule starts the rule evaluating live transactions immediately. Otherwise you send the rule to a reviewer you choose: Send For Approval for an L1 or L2 user, Send for Review for an L3 or MLRO user. The rule moves to the In Review tab of the Rules Library and does not evaluate live transactions until it is published. The reviewer you chose, or any MLRO, publishes it with Publish Rule, or uses Reassign to return it to you with a reason. To change a rule while it is In Review, click Edit: it goes back to Draft and must be sent again.

Who Can Publish a Rule​

Rule life cycle and maker-checker

Rule workflow (maker-checker)

ActionWhoFrom toNeeds
Create, duplicate, copy from predefined, rejected or SupersededMaker, CheckerNone to DraftNew rule ID
Start or stop Live PreviewOwnerDraft and In Live PreviewOptional. Stop keeps run history
SubmitOwnerDraft, In Live Preview or Sent back to In ReviewMaker's note required. Ends any run. One Checker assigned, Maker cannot pick
PublishAssigned CheckerIn Review to Live (new version)Skip rule applies
Send backAssigned CheckerIn Review to Sent backComment required
RejectAssigned CheckerIn Review to RejectedReason required. Read-only. A new draft can be made from it
Self publishMLRO if granted, or sole Checker if Admin allowsDraft to Live (new version)Reason required
Request changesCheckerLive or Paused to a draft of the live rulePick a Maker, add notes. One open draft per rule. Blocked while In Review
PauseCheckerLive to PausedReason (Needs tuning, Under investigation, Data issue, Technical issue, Being replaced, Business or policy change, Other) and comment
ResumeCheckerPaused to LiveReason required
ArchiveCheckerPaused to ArchivedReason required. Not allowed while Live
RestoreCheckerArchived to PausedReason required. Never straight to Live
Delete draftOwnerDraft removedReason (Duplicate, Created in error, Replaced by another rule, No longer needed, Other) and comment. Not In Review. A Live version keeps running
  • Review SLA: Checkers only, calendar hours, from when the rule reaches their queue. MLRO gets a warning. Send back stops the clock. A breach moves the rule to another Checker with a fresh SLA.
  • Validation (all reason dialogs): reason required. Comment 30 to 500 characters after removing extra spaces. Messages: "Select a reason." and "Add at least 30 characters." The backend repeats these checks.

Admin Settings​

Admin settings (Admin only, apply to the next action, never backwards)

SettingDefaultEffect
Self publish, per MLROOffMLRO can publish own work with a reason
Single-Checker four-eyes skipNot allowedIf the client has one Checker, that Checker can publish own rules
Require Rule Testing before Live PreviewOffOn: Live Preview is blocked until a Rule Test has run on the current version
Require Live Preview before submissionOffOn: Submit is blocked until the run meets its minimum
Minimum Live Preview period7 days or 1,000 transactions (TM also 3 completed runs)When a run is Ready to submit
Maximum Live Preview period30 days, extended for weekly or monthly TM rulesRuns stop automatically
Active Live Preview cap20 runs per clientStart is blocked when full

Saving a Draft​

To leave the editor without publishing, click Discard and then Save to Draft. The rule appears in the Rules Library with a Draft badge. Choosing Discard instead loses all unsaved changes.

Editing a Rule​

Open a rule from the Rules Library, change it, and publish it again the same way as a new rule (see Review and Publish). While changes are not yet published, the rule shows an Unpublished badge and the published version stays live.

Version History​

  • Versions: one is created only when a change is published (v1, v2). The old live version becomes Superseded. Published rules are read-only. There is no rollback call. The nearest path is a new draft from a Superseded version, with full review.

Live Preview and Rule Testing​

  • Live Preview runs a rule on real transactions with no alerts, holds, cases or risk changes. Rule Testing replays past transactions (history or CSV). Both are optional unless Admin requires them. Live Preview is the live test and Rule Testing is the history test. Together they show the effect of a proposed change. Live test runs are recorded in the rule audit log with the rule conditions.

Rule Sets​

A rule set is a named, coloured label that groups rules. Every rule belongs to at least one rule set, chosen in the rule details. You can create a rule set while creating or editing a rule: open the Rule Set list, choose Create New Rule Set, enter a name and click Add Set.

Rule sets also decide which rules run on a transaction. Your API request selects rule sets with the rule_sets field, using the rule set names exactly as they appear in the Rule Builder. Rules in a rule set are applied only when the request sends that rule set's name. See Rule Sets in the API documentation.

Lists​

An Attribute Action List flags or exempts a specific set of values for an attribute, for example a list of high-risk BINs or a list of pre-cleared customer IDs, without a separate condition for each value. A list fires as a rule in its own right: when a transaction matches a value on the list, it appears in that transaction's triggered rules named after the list, with the matching attribute named alongside it.

Rules Performance​

Click Rules Performance in the Rules Library to see how your rules are performing.

  • Filters: action (Approve, Decline, Watch, Manual Review, Custom), hits (all, decisive or non-decisive), count or value, and the date range.
  • Charts: Hits by action and Hits by rules.
  • Rules Overview: each rule with its action, hits, value and trend. Search by rule name, and switch between all rules, rules with hits, and selected rules. From a rule's menu, choose See transactions or See rule logic.
  • Rule Performance (published rules only): matched, alerts with rule version, true and false positives from closed alerts, daily trend. Nothing projected. It needs final outcomes on closed alerts. The stats are also used to tune rules.

Creating Rules with AI​

The Rule Builder has two AI features. Both send information to an AI model (Google Gemini) to produce suggestions. Always review AI suggestions before you publish a rule.

AI Rule Builder​

AI Rule Builder generates a set of starter rules from a short questionnaire about your business. It is available when AI rules are enabled for your account. Open it with Create with AI in the Rules Library.

  1. Industry: your industry, sub-industry and customer type.
  2. Transactions Assessment: the factors to assess, for example transaction details, IP location and jurisdictions, sanctions and PEP, device and account details.
  3. Typologies: the risk scenarios to detect, for example Structuring/Smurfing or Rapid Fire Transactions, with their thresholds and time windows.
  4. Regulation & Risk Appetite: the frameworks that apply to you and your risk appetite (Conservative, Balanced or Liberal).
  5. Review: click Generate Rules, review the generated rules, select the ones to keep and click Continue.

Your questionnaire answers are sent to the AI model. Your existing rules are not sent. The selected rules are saved as drafts in the Rules Library. Add a typology and rule set to each, then publish them.

AI Rule Assistant​

The AI Rule Assistant suggests conditions and an action for the rule you are building. Open it with Create with AI on the rule editor once the rule has a description.

  1. Confirm or edit the description in Create this rule with AI? and click Proceed.
  2. The assistant shows Recommended Conditions & Datapoints, a Recommended Action (risk score, priority and action) and a Duplicate & Conflict Check against your existing rules.
  3. Click Apply to Rule to use the suggestion. If the rule already has conditions, you are asked whether to replace them.

To produce suggestions, the assistant sends the AI model the rule's description, name, discipline and typology, the attributes available on your account, and a summary of your existing rules (their names, typologies, priorities, actions, descriptions and conditions). The number of assistant requests per account is limited each day.

Discover Attributes​

Discover Attributes lists the datapoints and attributes you can use in rule conditions, with each one's type, values, operators and an example. Open it from the rule editor or from Settings > KYT Settings. You can search attributes, export the list as CSV, and start a new rule from an attribute with Create New Rule.

Settings > Transaction Rules​

KYT accounts that do not have the Rule Builder enabled manage the same transaction rules under Settings > Transaction Rules. The page has these sections:

SectionWhat it does
RulesCreate, edit and deploy rules for your transactions. When AI rules are enabled for your account, rules can also be generated with the AI Rule Generator.
Rules PerformanceTrack rule hit rates, approvals, declines and effectiveness over time.
Discover AttributesBrowse the datapoints and attributes available for building rules.
Rule TemplatesStart from pre-built templates to create rules faster.
Deployments HistoryView the deployment history of your rules.
Rule AlertsSet up alerts for your configured rules.

An account uses either the Rule Builder or Settings > Transaction Rules, never both. Both screens manage the same rules.