Scripting setting Group Rights on Queues

Hi there;

RT 3.6.1 , apach2 mysql5, mod_perl2

I got 30 or so queues and I would like to assign a particular group a
set of rights to these queues, has anyone scripted anything like this ,
I looked in Admin/Queues/GroupRights.html and traced the function I need
to ProcessACLChanges in Interface/Web.pm, however I not sure how to call
this function, can anyone help??

Regards;
Roy