How to make a Grey Matter mask by using REST?

Hi:

I want to make a gray matter mask with GM probabilities greater than 20%. I've found there are brainmasks in REST, but I don't know whether they are gray matter masks or whole brain masks and what interpolating thresholds  were used. Would you plese teach me how to make a Grey Matter mask by using REST or dpabi? Thanks a lot!

i1>0.2 in Image caculator, based on SPM's grey.nii.