the mm number represents the degree of waterproof of the pants. 10,000mm is quite waterproof and is more than enough unless you are riding often in rain or really wet powpow.
the g number represents the degree of breathability the pants will have. the greater the number, the less breathable...