Scripting setting Group Rights on Queues -- please

Re submitting cause I really need help on this … I have to do the below
for few groups on a 30 or so queues each …

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/, however I not sure how to call
this function, can anyone help??