[
  {
    "id": "14734616-6fa5-4cb2-9eba-f321fdeb970e",
    "created_at": "2023-05-24 16:56:48.494942",
    "created_by": "admin",
    "updated_at": "2023-05-24 16:56:48.494938",
    "updated_by": "admin",
    "version": null,
    "definition": "package mlb_1684927607;\nimport com.nextsport.model.RuleRequest;\nimport com.nextsport.model.RuleResponse;\nimport java.util.*;\nglobal RuleRequest ruleGame;\ndialect \"mvel\"\nrule rule_mlb_1684927607\nwhen\n$rule : RuleRequest((currentAtBatId == pmstoreAtBatId) && (currentObjectStrikes >= 2)) \nthen\nRuleResponse $pmQuestion = new RuleResponse();\n$pmQuestion.setQuestion(\"Will the count reach at least 2 strikes for {Batter Name} during this at bat?\");\n$pmQuestion.setOutcomeMessageDidIt(\"The count for {Batter Name} reached at least 2 strikes.\");\n$pmQuestion.setOutcomeMessageMissedIt(\"\");\n$rule.setPmQuestion($pmQuestion);\nend",
    "definition_type": "drl",
    "engine_name": "drool",
    "name": "mlb_atbat_1684927607",
    "packages": "mlb_1684927607",
    "path": "src/main/resources",
    "active": true
  },
  {
    "id": "2b3c2144-fc71-455f-8346-53d6c6888b58",
    "created_at": "2023-05-26 18:28:14.20442",
    "created_by": "admin",
    "updated_at": "2023-05-26 18:28:14.204417",
    "updated_by": "admin",
    "version": null,
    "definition": "package mlb_1685105893;\nimport com.nextsport.model.RuleRequest;\nimport com.nextsport.model.RuleResponse;\nimport java.util.*;\nglobal RuleRequest ruleGame;\ndialect \"mvel\"\nrule rule_mlb_1685105893\nwhen\n$rule : RuleRequest(currentAtBatId != pmstoreAtBatId) \nthen\nRuleResponse $pmQuestion = new RuleResponse();\n$pmQuestion.setQuestion(\"Will the count reach at least 2 strikes for {Batter Name} during this at bat?\");\n$pmQuestion.setOutcomeMessageDidIt(\"\");\n$pmQuestion.setOutcomeMessageMissedIt(\"The count for {Batter Name} did not reach at least 2 strikes.\");\n$rule.setPmQuestion($pmQuestion);\nend",
    "definition_type": "drl",
    "engine_name": "drool",
    "name": "mlb_1685105893",
    "packages": "mlb_1685105893",
    "path": "src/main/resources",
    "active": true
  },
  {
    "id": "2edd5961-c70e-469f-92d8-1699082a2aa8",
    "created_at": "2023-05-26 18:59:52.213769",
    "created_by": "admin",
    "updated_at": "2023-05-26 18:59:52.213768",
    "updated_by": "admin",
    "version": null,
    "definition": "package mlb_1685107791;\nimport com.nextsport.model.RuleRequest;\nimport com.nextsport.model.RuleResponse;\nimport java.util.*;\nglobal RuleRequest ruleGame;\ndialect \"mvel\"\nrule rule_mlb_1685107791\nwhen\n$rule : RuleRequest(currentAtBatId != pmstoreAtBatId)\nthen\nRuleResponse $pmQuestion = new RuleResponse();\n$pmQuestion.setQuestion(\"Will {Batter Name} reach a base during this at bat?\");\n$pmQuestion.setOutcomeMessageDidIt(\"\");\n$pmQuestion.setOutcomeMessageMissedIt(\"{Batter Name} did not reach a base during this at-bat.\");\n$rule.setPmQuestion($pmQuestion);\nend",
    "definition_type": "drl",
    "engine_name": "drool",
    "name": "mlb_1685107791",
    "packages": "mlb_1685107791",
    "path": "src/main/resources",
    "active": true
  },
  {
    "id": "47fd1973-3c96-40de-a740-7b02e01cc5ed",
    "created_at": "2023-05-26 18:35:35.691732",
    "created_by": "admin",
    "updated_at": "2023-05-26 18:35:35.691731",
    "updated_by": "admin",
    "version": null,
    "definition": "package mlb_1685106334;\nimport com.nextsport.model.RuleRequest;\nimport com.nextsport.model.RuleResponse;\nimport java.util.*;\nglobal RuleRequest ruleGame;\ndialect \"mvel\"\nrule rule_mlb_1685106334\nwhen\n$rule : RuleRequest(currentAtBatId != pmstoreAtBatId) \nthen\nRuleResponse $pmQuestion = new RuleResponse();\n$pmQuestion.setQuestion(\"Will {Batter Name} receive more than 4 pitches during this at bat?\");\n$pmQuestion.setOutcomeMessageDidIt(\"\");\n$pmQuestion.setOutcomeMessageMissedIt(\"{Batter Name} did not receive more than 4 pitches.\");\n$rule.setPmQuestion($pmQuestion);\nend",
    "definition_type": "drl",
    "engine_name": "drool",
    "name": "mlb_1685106334",
    "packages": "mlb_1685106334",
    "path": "src/main/resources",
    "active": true
  },
  {
    "id": "6ebc4261-a5f1-46be-922a-46ff582bf2c6",
    "created_at": "2023-05-26 18:43:51.691497",
    "created_by": "admin",
    "updated_at": "2023-05-26 18:43:51.691494",
    "updated_by": "admin",
    "version": null,
    "definition": "package mlb_1685106830;\nimport com.nextsport.model.RuleRequest;\nimport com.nextsport.model.RuleResponse;\nimport java.util.*;\nglobal RuleRequest ruleGame;\ndialect \"mvel\"\nrule rule_mlb_1685106830\nwhen\n$rule : RuleRequest(currentAtBatId != pmstoreAtBatId)\nthen\nRuleResponse $pmQuestion = new RuleResponse();\n$pmQuestion.setQuestion(\"Will {Batter Name} get a walk during this at bat?\");\n$pmQuestion.setOutcomeMessageDidIt(\"\");\n$pmQuestion.setOutcomeMessageMissedIt(\"{Batter Name} wasn't walked during this at-bat.\");\n$rule.setPmQuestion($pmQuestion);\nend",
    "definition_type": "drl",
    "engine_name": "drool",
    "name": "mlb_1685106830",
    "packages": "mlb_1685106830",
    "path": "src/main/resources",
    "active": true
  },
  {
    "id": "83b25deb-6036-42eb-9938-fc17dc7e936d",
    "created_at": "2023-05-24 17:50:04.250507",
    "created_by": "admin",
    "updated_at": "2023-05-24 17:54:16.062055",
    "updated_by": "admin",
    "version": null,
    "definition": "package mlb_1684930803;\nimport com.nextsport.model.RuleRequest;\nimport com.nextsport.model.RuleResponse;\nimport java.util.*;\nglobal RuleRequest ruleGame;\ndialect \"mvel\"\nrule rule_mlb_1684930803\nwhen\n$rule : RuleRequest((currentAtBatId == pmstoreAtBatId) && (currentObjectEventType == \"pitch\") && (currentObjectEventCategory contains \"walk\")   && (currentObjectEventFlagAbOver == true))\nthen\nRuleResponse $pmQuestion = new RuleResponse();\n$pmQuestion.setQuestion(\"Will {Batter Name} get a walk during this at bat?\");\n$pmQuestion.setOutcomeMessageDidIt(\"{Batter Name} was walked on this at-bat.\");\n$pmQuestion.setOutcomeMessageMissedIt(\"\");\n$rule.setPmQuestion($pmQuestion);\nend",
    "definition_type": "drl",
    "engine_name": "drool",
    "name": "mlb_atbat_1684930803",
    "packages": "mlb_1684930803",
    "path": "src/main/resources",
    "active": true
  },
  {
    "id": "905c199e-b5cb-4747-95bb-c148ab379e18",
    "created_at": "2023-05-26 18:58:06.095983",
    "created_by": "admin",
    "updated_at": "2023-05-26 18:58:06.095982",
    "updated_by": "admin",
    "version": null,
    "definition": "package mlb_1685107685;\nimport com.nextsport.model.RuleRequest;\nimport com.nextsport.model.RuleResponse;\nimport java.util.*;\nglobal RuleRequest ruleGame;\ndialect \"mvel\"\nrule rule_mlb_1685107685\nwhen\n$rule : RuleRequest(currentAtBatId != pmstoreAtBatId)\nthen\nRuleResponse $pmQuestion = new RuleResponse();\n$pmQuestion.setQuestion(\"Will {Batter Name} get out during this at bat?\");\n$pmQuestion.setOutcomeMessageDidIt(\"\");\n$pmQuestion.setOutcomeMessageMissedIt(\"{Batter Name} did not get out during this at bat\");\n$rule.setPmQuestion($pmQuestion);\nend",
    "definition_type": "drl",
    "engine_name": "drool",
    "name": "mlb_1685107685",
    "packages": "mlb_1685107685",
    "path": "src/main/resources",
    "active": true
  },
  {
    "id": "ac822b57-1898-49c0-a509-e01ad7fd2eaf",
    "created_at": "2023-05-24 17:02:02.301509",
    "created_by": "admin",
    "updated_at": "2023-05-24 17:02:02.301507",
    "updated_by": "admin",
    "version": null,
    "definition": "package mlb_1684927921;\nimport com.nextsport.model.RuleRequest;\nimport com.nextsport.model.RuleResponse;\nimport java.util.*;\nglobal RuleRequest ruleGame;\ndialect \"mvel\"\nrule rule_mlb_1684927921\nwhen\n$rule : RuleRequest((currentAtBatId == pmstoreAtBatId) && (currentObjectPitchCount > 4)) \nthen\nRuleResponse $pmQuestion = new RuleResponse();\n$pmQuestion.setQuestion(\"Will {Batter Name} receive more than 4 pitches during this at bat?\");\n$pmQuestion.setOutcomeMessageDidIt(\"{Batter Name} received more than 4 pitches.\");\n$pmQuestion.setOutcomeMessageMissedIt(\"\");\n$rule.setPmQuestion($pmQuestion);\nend",
    "definition_type": "drl",
    "engine_name": "drool",
    "name": "mlb_atbat_1684927921",
    "packages": "mlb_1684927921",
    "path": "src/main/resources",
    "active": true
  },
  {
    "id": "c936085e-fb71-4a7b-99da-28d2209938e8",
    "created_at": "2023-05-26 18:49:34.718082",
    "created_by": "admin",
    "updated_at": "2023-05-26 18:49:34.718081",
    "updated_by": "admin",
    "version": null,
    "definition": "package mlb_1685107173;\nimport com.nextsport.model.RuleRequest;\nimport com.nextsport.model.RuleResponse;\nimport java.util.*;\nglobal RuleRequest ruleGame;\ndialect \"mvel\"\nrule rule_mlb_1685107173\nwhen\n$rule : RuleRequest((CurrentBattingTeamId != pmStoreCurrentBattingTeamId || currentObjectEventCategory contains \"halfover\")) \nthen\nRuleResponse $pmQuestion = new RuleResponse();\n$pmQuestion.setQuestion(\"Will there be at least 2 runners on base at any time during this inning half?\");\n$pmQuestion.setOutcomeMessageDidIt(\"\");\n$pmQuestion.setOutcomeMessageMissedIt(\"There were not at least two runners on base during this inning half.\");\n$rule.setPmQuestion($pmQuestion);\nend",
    "definition_type": "drl",
    "engine_name": "drool",
    "name": "mlb_1685107173",
    "packages": "mlb_1685107173",
    "path": "src/main/resources",
    "active": true
  },
  {
    "id": "d2e19fab-ba47-416f-8db7-923180985fdd",
    "created_at": "2023-05-24 16:59:50.762094",
    "created_by": "admin",
    "updated_at": "2023-05-24 16:59:50.762092",
    "updated_by": "admin",
    "version": null,
    "definition": "package mlb_1684927790;\nimport com.nextsport.model.RuleRequest;\nimport com.nextsport.model.RuleResponse;\nimport java.util.*;\nglobal RuleRequest ruleGame;\ndialect \"mvel\"\nrule rule_mlb_1684927790\nwhen\n$rule : RuleRequest((currentAtBatId == pmstoreAtBatId) && (currentObjectBallsCount >= 3)) \nthen\nRuleResponse $pmQuestion = new RuleResponse();\n$pmQuestion.setQuestion(\"Will the count reach at least 3 balls for {Batter Name} during this at bat?\");\n$pmQuestion.setOutcomeMessageDidIt(\"The count for {Batter Name} reached at least 3 balls.\");\n$pmQuestion.setOutcomeMessageMissedIt(\"\");\n$rule.setPmQuestion($pmQuestion);\nend",
    "definition_type": "drl",
    "engine_name": "drool",
    "name": "mlb_atbat_1684927790",
    "packages": "mlb_1684927790",
    "path": "src/main/resources",
    "active": true
  },
  {
    "id": "db4a651d-3923-4017-a7eb-fd3f344bd5dd",
    "created_at": "2023-05-26 18:33:54.667384",
    "created_by": "admin",
    "updated_at": "2023-05-26 18:33:54.667382",
    "updated_by": "admin",
    "version": null,
    "definition": "package mlb_1685106233;\nimport com.nextsport.model.RuleRequest;\nimport com.nextsport.model.RuleResponse;\nimport java.util.*;\nglobal RuleRequest ruleGame;\ndialect \"mvel\"\nrule rule_mlb_1685106233\nwhen\n$rule : RuleRequest(currentAtBatId != pmstoreAtBatId) \nthen\nRuleResponse $pmQuestion = new RuleResponse();\n$pmQuestion.setQuestion(\"Will the count reach at least 3 balls for {Batter Name} during this at bat?\");\n$pmQuestion.setOutcomeMessageDidIt(\"\");\n$pmQuestion.setOutcomeMessageMissedIt(\"The count for {Batter Name} did not reach at least 3 balls.\");\n$rule.setPmQuestion($pmQuestion);\nend",
    "definition_type": "drl",
    "engine_name": "drool",
    "name": "mlb_1685106233",
    "packages": "mlb_1685106233",
    "path": "src/main/resources",
    "active": true
  },
  {
    "id": "debffaeb-e529-4399-b463-09aa9c0248f3",
    "created_at": "2023-05-24 17:14:41.305131",
    "created_by": "admin",
    "updated_at": "2023-05-24 17:14:41.305128",
    "updated_by": "admin",
    "version": null,
    "definition": "package mlb_1684928680;\nimport com.nextsport.model.RuleRequest;\nimport com.nextsport.model.RuleResponse;\nimport java.util.*;\nglobal RuleRequest ruleGame;\ndialect \"mvel\"\nrule rule_mlb_half_start_1684928680\nwhen\n$rule : RuleRequest((CurrentBattingTeamId == pmStoreCurrentBattingTeamId) && (currentEventRunnerLength > 2 || currentEventRunnerLength == 2)) \nthen\nRuleResponse $pmQuestion = new RuleResponse();\n$pmQuestion.setQuestion(\"Will there be at least 2 runners on base at any time during this inning half?\");\n$pmQuestion.setOutcomeMessageDidIt(\"There were at least two runners on base during this inning half.\");\n$pmQuestion.setOutcomeMessageMissedIt(\"\");\n$rule.setPmQuestion($pmQuestion);\nend",
    "definition_type": "drl",
    "engine_name": "drool",
    "name": "mlb_half_start_1684928680",
    "packages": "mlb_1684928680",
    "path": "src/main/resources",
    "active": true
  },
  {
    "id": "e0e07aaf-520a-4d34-a74c-36ce2e0cb187",
    "created_at": "2023-05-24 18:10:24.462602",
    "created_by": "admin",
    "updated_at": "2023-05-24 18:10:24.4626",
    "updated_by": "admin",
    "version": null,
    "definition": "package mlb_1684932023;\nimport com.nextsport.model.RuleRequest;\nimport com.nextsport.model.RuleResponse;\nimport java.util.*;\nglobal RuleRequest ruleGame;\ndialect \"mvel\"\nrule rule_mlb_1684932023\nwhen\n$rule : RuleRequest((currentAtBatId == pmstoreAtBatId) && (currentObjectEventFlagAbOver == true) && (currentObjectEventFlagIshit == true || currentObjectEventCategory contains \"walk\"))\nthen\nRuleResponse $pmQuestion = new RuleResponse();\n$pmQuestion.setQuestion(\"Will {Batter Name} reach a base during this at bat?\");\n$pmQuestion.setOutcomeMessageDidIt(\"{Batter Name} reached a base during this at-bat.\");\n$pmQuestion.setOutcomeMessageMissedIt(\"\");\n$rule.setPmQuestion($pmQuestion);\nend",
    "definition_type": "drl",
    "engine_name": "drool",
    "name": "mlb_atbat_1684932023",
    "packages": "mlb_1684932023",
    "path": "src/main/resources",
    "active": true
  },
  {
    "id": "eb405b7f-367e-47db-b681-9fb3dcf0d0a0",
    "created_at": "2023-05-24 18:03:15.486337",
    "created_by": "admin",
    "updated_at": "2023-05-24 18:03:15.486334",
    "updated_by": "admin",
    "version": null,
    "definition": "package mlb_1684931594;\nimport com.nextsport.model.RuleRequest;\nimport com.nextsport.model.RuleResponse;\nimport java.util.*;\nglobal RuleRequest ruleGame;\ndialect \"mvel\"\nrule rule_mlb_1684931594\nwhen\n$rule : RuleRequest((currentAtBatId == pmstoreAtBatId) && (currentObjectEventFlagIshit == false) && (currentObjectEventFlagAbOver == true))\nthen\nRuleResponse $pmQuestion = new RuleResponse();\n$pmQuestion.setQuestion(\"Will {Batter Name} get out during this at bat?\");\n$pmQuestion.setOutcomeMessageDidIt(\"{Batter Name} got out during this at-bat.\");\n$pmQuestion.setOutcomeMessageMissedIt(\"\");\n$rule.setPmQuestion($pmQuestion);\nend",
    "definition_type": "drl",
    "engine_name": "drool",
    "name": "mlb_atbat_1684931594",
    "packages": "mlb_1684931594",
    "path": "src/main/resources",
    "active": true
  }
]