[
    {
        "rulename": "tor-true",
        "if": {
            "source.tor_node": true
        },
        "then": {
            "event_description.text": "This is a TOR node."
        }
    },
    {
        "rulename": "tor-false",
        "if": {
            "source.tor_node": "False"
        },
        "then": {
            "event_description.text": "This is not a TOR node."
        }
    },
    {
        "rulename": "tor-null",
        "if": {
            "source.tor_node": ""
        },
        "then": {
            "event_description.text": "We don't know if this is a TOR node."
        }
    },
    {
        "rulename": "low-accuracy",
        "if": {
            "feed.accuracy": "^(10(\\.0)?|([0-9])(\\..*)?)$"
        },
        "then": {
            "event_description.text": "Accuracy is 10% or lower."
        }
    },
    {
        "rulename": "highest-accuracy",
        "if": {
            "feed.accuracy": 100
        },
        "then": {
            "event_description.text": "Accuracy is the highest."
        }
    },
    {
        "rulename": "integer value",
        "if": {
            "comment": "integer value"
        },
        "then": {
            "extra.test": 1
        }
    }
]
