def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("/touch"),
            any(
                [
                    "-t" in event.deep_get("CommandLine", default=""),
                    "-acmr" in event.deep_get("CommandLine", default=""),
                    "-d" in event.deep_get("CommandLine", default=""),
                    "-r" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
