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