The expansion setting in the Variables table uses a bit mask to let you pick and chose which expansions you want. Here is the wiki note on what to set for it:
http://www.eqemulator.net/wiki/wikka...les#Expansions
Just add up the expansions and put the total in the variables table for the expansion setting.
As for disabling certain AAs for certain expansions, I am unaware of any current support for that. I don't think we have them all labeled out properly by expansion yet anyway. If they were all sorted properly per expansion and set in the table, it probably wouldn't be too hard to add support for only sending AAs that match the expansion setting of the server. For now though, you are best off just deleting the AAs you don't want them to have from your altadv_vars table.