Ayzal AIAYZAL .AI
Back to Knowledge Base
Rule Building

Composite Rule Catalog & Use Cases — Ayzal AI FRM

A practical guide to building advanced detection rules using composite steps. Learn how to combine value checks, entity relationships, and aggregations to catch card testing rings, mules, and account takeovers.

Updated 2026-10-26

Composite Rule Catalog & Use Cases

The most effective fraud detection does not rely on a single condition. It relies on composition. By combining value checks, entity relationships, and aggregations, you can detect complex fraud rings and mule activity that simple rules would miss.

1. Card Testing (CC / POS)

Rule: Modern Rotational Card Testing Ring Goal: Catch attackers who rotate emails, IPs, and cards, but reuse the same device or BIN.

Why this works: You are combining a value check (micro amounts failing) with a relationship check (shared fingerprint) and a fanout check (one device hitting many cards). This catches both the automated testing phase and the compromised device.

2. POS Fraud Patterns

Rule: Cross Border Stolen Card Cash Out Goal: Detect a stolen card being used at a POS terminal far from the customer home, right after a test transaction.

Why this works: It combines geographic risk with a sudden spike in spend and a known bad actor check.

3. Fraud Rings (Wallet / CC)

Rule: The Mule Network (Fan In / Fan Out) Goal: Detect a ring where money is moving from many accounts into one, or one account into many.

Why this works: You are combining volume, fanout, and fanin. If an account is sending money to 4 different beneficiaries, and those 4 beneficiaries are also receiving money from 5 other accounts, you have a structured fraud ring.

4. Account Takeover (Wallet / CC)

Rule: Impossible Travel + High Value Transfer Goal: Catch a compromised account before the attacker can drain the funds.

Why this works: It combines travel velocity, unusual timing, spend velocity, and identity mismatch. The attacker might have the password, but they are logging in from a new country at 3 AM, spending 5x the normal amount, on an account where the name does not match the email.


How to Combine Steps in the UI

  1. Select Composition as the Rule Type.
  2. Add Step 1 and configure it (e.g., field_compare).
  3. Add Step 2.
  4. Set the Logic. Choose AND if both steps must be true, or OR if either can be true.
  5. Use where_prior_steps=ON for steps like count_distinct or sum_amount. This tells the engine to only count transactions that passed the prior conditions.

Best Practice: Do not combine 5 steps on day one. Start with 2 steps (field_compare + count_events) and watch the alert volume. Once your analysts are comfortable with the noise level, add the third step (shared_entity or ratio).


The Mule Use Case

Here are five specific rules to catch money mules, built from the steps above.

Rule 1: The Mule Itself

Purpose: Flag the sender account as a high volume funnel.

Fires when an account sends over 100,000 in 7 days AND has 50 or more debit transactions in 30 days.

Rule 2: Beneficiary Concentration

Purpose: Flag the top destinations that received the outflow.

Fires on Source Account.

Rule 3: Rapid Pass Through (Drain Ratio)

Purpose: Account receives and immediately sends, the classic mule signature.

Rule 4: Round Amount Structuring

Purpose: Many transactions on round numbers within minutes.

Rule 5: Off Hours Activity

Purpose: Spikes between 00:00 and 05:00.


See It in Your Own Data

Ayzal AI FRM is built around these principles: entity graph ring detection, hybrid rules and AI, Maker and Checker governance, and API first ingest with automatic field mapping.

Start Free Trial