// goes inside
// "rules": []
{
  "name": "swear",
  "kind": "regex",
  "criteria": [
    // triggers if more than 3 activities in the last 10 match the regex
    {
      "regex": "/fuck|shit|damn/",
      // this differs from "totalMatchThreshold"
      //
      // activityMatchThreshold => # of activities from window must match regex
      // totalMatchThreshold => # of matches across all activities from window must match regex
      "activityMatchThreshold": "> 3",
      // if `window` is specified it tells the rule to check the current activity as well as the activities returned from `window`
      // learn more about `window` here https://github.com/FoxxMD/context-mod/blob/master/docs/activitiesWindow.md
      "window": 10,
    },
  ]
}
