def rule(event):
    if all(
        [
            event.deep_get("TargetObject", default="").endswith("\\Security\\VBAWarnings"),
            event.deep_get("Details", default="") == "DWORD (0x00000001)",
        ]
    ):
        return True
    return False
