def rule(event):
    if all(
        [
            any(
                [
                    "\\Software\\Wow6432Node\\Microsoft\\Internet Explorer"
                    in event.deep_get("TargetObject", default=""),
                    "\\Software\\Microsoft\\Internet Explorer"
                    in event.deep_get("TargetObject", default=""),
                ]
            ),
            any(
                [
                    "\\Toolbar" in event.deep_get("TargetObject", default=""),
                    "\\Extensions" in event.deep_get("TargetObject", default=""),
                    "\\Explorer Bars" in event.deep_get("TargetObject", default=""),
                ]
            ),
            not any(
                [
                    event.deep_get("Details", default="") == "(Empty)",
                    any(
                        [
                            "\\Extensions\\{2670000A-7350-4f3c-8081-5663EE0C6C49}"
                            in event.deep_get("TargetObject", default=""),
                            "\\Extensions\\{31D09BA0-12F5-4CCE-BE8A-2923E76605DA}"
                            in event.deep_get("TargetObject", default=""),
                            "\\Extensions\\{789FE86F-6FC4-46A1-9849-EDE0DB0C95CA}"
                            in event.deep_get("TargetObject", default=""),
                            "\\Extensions\\{A95fe080-8f5d-11d2-a20b-00aa003c157a}"
                            in event.deep_get("TargetObject", default=""),
                        ]
                    ),
                    any(
                        [
                            event.deep_get("TargetObject", default="").endswith(
                                "\\Toolbar\\ShellBrowser\\ITBar7Layout"
                            ),
                            event.deep_get("TargetObject", default="").endswith(
                                "\\Toolbar\\ShowDiscussionButton"
                            ),
                            event.deep_get("TargetObject", default="").endswith(
                                "\\Toolbar\\Locked"
                            ),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
