Mike Volodarsky - "da man" when it comes to proper, big ass, IIS has dusted off his code skills once again to bring us a killer tool for custom config in IIS7. Go get it to see how it should be done.
Mike Volodarsky's ServerSide : IISSCHEMA.EXE - A tool to register IIS7 configuration sections