def METHOD_NAME(self):
    data = {
        "rule_type_id": 76,
        "rule_value": "1231231231",
        "rule_target": "O",
        "rule_source": "O",
        "inherit": "false",
        "track": "false",
        "language_id": 1,
        "ignore_blacklist": False,
        "ignore_internal": False,
    }
    response = self.client.post("/api/v1/engine/hook/rule/add", data=data)
    self.assertEqual(response.status_code, 200)
    respdata = json.loads(response.content)
    self.assertEqual(respdata["status"], 201)
    hook_rule = HookStrategy.objects.filter(value="1231231231").first()
    self.assertNotEqual(hook_rule, None)
    data2 = {
        "rule_id": hook_rule.id,
        "rule_type_id": 76,
        "rule_value": "123123123",
        "rule_target": "O",
        "rule_source": "O",
        "inherit": "false",
        "track": "false",
        "language_id": 1,
        "ignore_blacklist": False,
        "ignore_internal": False,
    }
    response = self.client.post("/api/v1/engine/hook/rule/add", data=data2)
    self.assertEqual(response.status_code, 200)
    respdata = json.loads(response.content)
    self.assertEqual(respdata["status"], 201)