Check the powerful features with URL Rewrite Module 2.0 reloaded. you can download the extension from Micorsoft site here -
Check the video and more articles here -
Download samples (with source code) on examples on how to -
Store the rewrite or redirect mappings in a SQL database;
Store the rewrite or redirect mappings in a text file;
Store the lookup substrings in a text file.
Cheers - D