Is there a way do add to exclusions stat gems or enchants?

Looks like there’s no way to add to exclusion a stat gem, for example: there should be an option to exclude mastery gems in all sockets. the simulator is telling me to use mastery gems, and enchants there’s no way a frost mage will use those.