Rotation of halos in open and closed universes - Differentiated merging and natural selection of galaxy types