def rule(event):
    if "choice /t %d /d y /n >nul" in event.deep_get("CommandLine", default=""):
        return True
    return False
