I took a quick look and that looks exactly like what you need to support AD groups in GSP. There is a good chance it will work as it is written - just compile the code and configure web.config to specify the new role provider.
If this is beyond your skill set, perhaps someone else can do it and post their results (and the DLL) here.
Roger Martin
Creator and Lead Developer of Gallery Server Pro