Skip to main content
Use the Rules page in the Tracer module to create and manage fraud detection rules. Each rule contains a CEL expression that is evaluated against transaction data to determine if the transaction should be allowed, denied, or flagged for review.

Accessing the Rules page


Select Rules in the left sidebar to open the Fraud Detection Rules page. Expand the What is a Rule? panel at the top for a quick refresher on how rules evaluate transactions.

Filtering rules


Use the filter bar at the top of the list to narrow results:
FilterOptions
SearchSearch by name
StatusAll, Active, Inactive, Draft
DecisionAll, Allow, Deny, Review
Transaction TypeAll Types, Card, PIX, Wire, Crypto, ACH, Internal
A page-size selector alongside the filters controls how many items are loaded per page.

Rule cards


Rules are displayed as a grid of cards. Each card shows:
  • The rule name.
  • A status badge (Active, Inactive, or Draft).
  • An action badge indicating the configured decision (Allow, Deny, or Review).
  • The description, if one was provided.
  • The CEL expression in a code block.
  • The last updated date.

Rule statuses

StatusDescription
ActiveThe rule is being evaluated against incoming transactions
InactiveThe rule exists but is not currently being evaluated
DraftThe rule is being configured and is not yet active

Rule actions


Use the actions menu on each card to perform the following operations:
ActionDescription
DetailsOpen the rule detail sheet. The sheet is editable only when the rule is in Draft status
DeletePermanently delete the rule (requires confirmation)
ActivateMove the rule to active status
DeactivateMove the rule to inactive status
Move to DraftReturn the rule to draft status for editing. Only available when the rule is Inactive — deactivate an active rule first.
Deleting a rule is permanent and cannot be undone. The confirmation dialog reads: “You are about to permanently delete this rule. This action cannot be undone. Do you wish to continue?”

Creating a new rule


1
Click the New Rule button on the Rules page.
2
Fill in the rule fields in the Create Rule sheet:
FieldRequiredDescription
NameYesA descriptive name for the rule (e.g., “High Value Block”)
DescriptionNoA text description of the rule’s purpose
ExpressionYesA CEL expression that defines the rule logic (e.g., amount > 1000000). The editor provides real-time validation with green “Valid expression” feedback or red error messages with suggestions
ActionNoThe decision when the rule matches: Allow, Deny (default), or Review
ScopesNoOptional scope restrictions (see Scope builder below)
3
Click Create to save the new rule.
The rule is created in Draft status. You must activate it before it starts evaluating transactions.

Editing a rule


1
Locate the rule card and select Details from the actions menu.
2
Update the fields in the Edit Rule sheet.
3
Click Save to apply your changes.
Selecting Details opens the rule sheet. To make changes, the rule must be in Draft status — use Move to Draft first.

Scope builder


In the console, this section is labeled Scope and each entry is called a condition. The scope builder lets you restrict a rule to specific accounts, merchants, segments, or transaction types. You can add multiple conditions to a single rule.
ScopeInput typeValidation
AccountUUID text inputMust be a valid UUID
MerchantUUID text inputMust be a valid UUID
SegmentUUID text inputMust be a valid UUID
PortfolioUUID text inputMust be a valid UUID
Transaction TypeSelect dropdownCard, PIX, Wire, Crypto, ACH, Internal
Sub TypeFree text inputMaximum 50 characters
To add a condition, click Add Condition, select the scope type, and enter the value. Remove a condition by clicking the remove button next to it.