def rule(event):
    if all(
        [
            "xclip" in event.deep_get("Image", default=""),
            "-sel" in event.deep_get("CommandLine", default=""),
            "clip" in event.deep_get("CommandLine", default=""),
            "-o" in event.deep_get("CommandLine", default=""),
        ]
    ):
        return True
    return False
