As Mr. Vivek & Jagan said that you acn able to restric the quota deduction for Employee Group level based on the Grouping of EG & ESG for time quotas which is using in the Counting Rule. But here you have to creat two different absence type for EG=A & EG=B and make the rectriction of leave apply in the IT2001 level baesd on the leave type with EG.
Hope so you got it your query.
Regards,
Sankarsan