rename when/then/(single/all) to condition/when/(first/pipe)