On the X2/X4, yes, the offset is different between the fronts and rears. I purchased a FRONT to use as my spare and test fitted it on both the front and rear and it fits and works fine. I'm not sure if a REAR would work on the front. I didn't try that.
Most get a FRONT to use as a spare all the way around.
I'm not sure on the RMAX.