{
    "rules": [
        {
            "patternMatch": "(?i)^Hey Siri\\W*$",
            "replaceWith": "[ACCEPT]"
        },
        {
            "patternMatch": "(?i)^Siri\\W*$",
            "replaceWith": "[ACCEPT]"
        },
        {
            "patternMatch": "(?i)^Hey Siri(?![a-zA-Z])",
            "replaceWith": "[HEY_SIRI]"
        },
        {
            "patternMatch": "(?i)^Siri(?![a-zA-Z])",
            "replaceWith": "[SIRI]"
        },
        {
            "patternMatch": "^(?!\\[HEY_SIRI\\]|\\[SIRI\\]([^a-zA-Z]|$))",
            "replaceWith": "[NO_TRIGGER]"
        },
        {
            "patternMatch": "^\\[NO_TRIGGER\\](?=[a-zA-Z0-9])",
            "replaceWith": "[NO_TRIGGER] "
        },
        {
            "patternMatch": "\\s*(\\$)?[0-9]+(\\,?[0-9])*(\\.[0-9]+)?",
            "replaceWith": "[NUMBER]"
        },
        {
            "patternMatch": "\\[NUMBER\\](\\s*[+\\-*\u00d7\u00f7/]\\s*\\[NUMBER\\])+",
            "replaceWith": "[MATH]"
        }
    ]
}



