XC rims are for cross country use.
XM are for 'mountain' use i.e. still light but significantly stronger.
EX are for 'Extreme' use, downhill, Freeride, Paul etc. 😉 Actually I'm pretty heavy on wheels too.
The first digit after the letter is supposed to be the 'series' number, with higher numbers having better material and better quality construction, prices don't always reflect this e.g. a ceramic 7 series could cost more than an 8.
The next two numbers give the inner width of the rim. Wider widths give a better shape to larger tyres but will weigh a bit more.
– Source
Personally, as below, I prefer ZTR in the name.