This rule allows to filter profession reagents per expansion. As Parameter it receives the number of the expansion.
1 = The Burning Crusade
2 = Wrath of the Lich King
3 = Cataclysm
4 = Mists of Pandaria
5 = Warlords of Draenor
6 = Legion
7 = Battle for Azeroth
8 = Shadowlands
This example will group all reagents from the expansions Wrath of the Lich King and Legion.
Since every other item is per default from Classic, it is not currently implemented to check for that items. If you want to filter that too, you could use the rule
type(7) to filter for reagents instead and give it a higher order value.