Just an FYI that I posted about an article on programmatically creating a list of groups over on our new OperationsMgr blog:
http://blogs.technet.com/operationsmgr/archive/2009/01/22/opsmgr-2007-programmatically-creating-a-list-of-groups.aspx
Enjoy!
J.C. Hornbeck | Manageability Knowledge Engineer