YES (VAR x y w) (RULES response(compose(x,y),w) -> response(x,response(y,w)) ) (COMMENT Termination is shown by LPO with precedence: compose > response )