How would you give certain rank certain admin commands?
I don't really know how to script with groups as I never script anything that has to do with groups, but I did find a link that should answer your question :
http://wiki.roblox.com/index.php?title=API:Class/GroupService/GetGroupInfoAsync