def rule(event):
    if all(
        [
            "\\Software\\Microsoft\\Office\\" in event.deep_get("TargetObject", default=""),
            "\\Outlook\\WebView\\" in event.deep_get("TargetObject", default=""),
            event.deep_get("TargetObject", default="").endswith("\\URL"),
        ]
    ):
        return True
    return False
