def rule(event):
    if any(
        [
            all(
                [
                    any(
                        [
                            event.deep_get("Image", default="").endswith("\\Runner.Worker.exe"),
                            event.deep_get("OriginalFileName", default="") == "Runner.Worker.dll",
                        ]
                    ),
                    "spawnclient" in event.deep_get("CommandLine", default=""),
                ]
            ),
            all(
                [
                    any(
                        [
                            event.deep_get("Image", default="").endswith("\\Runner.Listener.exe"),
                            event.deep_get("OriginalFileName", default="") == "Runner.Listener.dll",
                        ]
                    ),
                    any(
                        [
                            "run" in event.deep_get("CommandLine", default=""),
                            "configure" in event.deep_get("CommandLine", default=""),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
