def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("ImageLoaded", default="").endswith("\\roboform.dll"),
                    event.deep_get("ImageLoaded", default="").endswith("\\roboform-x64.dll"),
                ]
            ),
            not all(
                [
                    any(
                        [
                            event.deep_get("Image", default="").startswith(
                                " C:\\Program Files (x86)\\Siber Systems\\AI RoboForm\\"
                            ),
                            event.deep_get("Image", default="").startswith(
                                " C:\\Program Files\\Siber Systems\\AI RoboForm\\"
                            ),
                        ]
                    ),
                    any(
                        [
                            event.deep_get("Image", default="").endswith("\\robotaskbaricon.exe"),
                            event.deep_get("Image", default="").endswith(
                                "\\robotaskbaricon-x64.exe"
                            ),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
