def rule(event):
    if all(
        [
            event.deep_get("EventID", default="") == 1116,
            event.deep_get("SourceName", default="") == "AMSI",
        ]
    ):
        return True
    return False
