def rule(event):
    if all(
        [
            event.deep_get("Provider_Name", default="") == "MsiInstaller",
            event.deep_get("EventID", default="") in [1034, 11724],
        ]
    ):
        return True
    return False
