{
    "name": "st2.person.joe",
    "description": "Sample rule dumping webhook payload to a file.",

    "trigger": {
        "type": "core.st2.webhook",
        "parameters": {
            "url": "person"
        }
    },

    "criteria": {
        "trigger.body.name": {
            "pattern": "Joe",
            "type": "equals"
         }
    },

    "action": {
        "action": "core.local",
        "parameters": {
            "cmd": "echo \"{{trigger}}\" >> /tmp/st2.persons.out"
        }
    },

    "enabled": true
}

{
    "name": "st2.person.joe",
    "description": "Sample rule dumping webhook payload to a file.",

    "trigger": {
        "type": "core.st2.webhook",
        "parameters": {
            "url": "person"
        }
    },

    "criteria": {
        "trigger.body.name": {
            "pattern": "Joe",
            "type": "equals"
         }
    },

    "action": {
        "ref": "core.local",
        "parameters": {
            "cmd": "echo \"{{trigger}}\" >> /tmp/st2.persons.out"
        }
    },

    "enabled": true
}

Update rules in contrib to use new data model
Update rules in contrib to use new data model
