def rule(event):
    if all(
        [
            any(
                [
                    "Failed to open service configuration with error"
                    in event.deep_get("Description", default=""),
                    "Failed to connect to the driver to update configuration"
                    in event.deep_get("Description", default=""),
                ]
            ),
            not any(
                [
                    all(
                        [
                            "Failed to open service configuration with error"
                            in event.deep_get("Description", default=""),
                            "Last error: The media is write protected."
                            in event.deep_get("Description", default=""),
                        ]
                    ),
                    any(
                        [
                            "Failed to open service configuration with error 19"
                            in event.deep_get("Description", default=""),
                            "Failed to open service configuration with error 93"
                            in event.deep_get("Description", default=""),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
