The rims for the 1997 M900 and 1998 ST2 are the same size, but the axles are different. The ST2 takes a larger diameter axle. You would have to get different wheel bearings to go with the different wheel.
There's a good chance your 95 M600 has the same axle size as the 97.