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