metomi/rose#941: rose macro: collapse code conditions