I am creating an application which will work as a static code analyzer after compiling my code in VS 2008 for VC++ projects. It will be a kind of code review.
Can anyone please guide me how and where do I need to put my custom rule sets, and what should I do to create such a application.
Any code examples or tutorials will be very helpful to me.

Thanks in advance.