Its a little late I know, but you can do it programmatically by having the url in a seperate config
<rewrite>
<rewriteMaps configSource="urls.config" />
<rules>
<rule name="Rewrite rule1 for StaticRedirect">
<match url=".*" />
<conditions>
<add input="{StaticRedirect:{REQUEST_URI}}" pattern="(.+)" />
</conditions>
<action type="Rewrite" url="{C:1}" appendQueryString="false" />
</rule>
</rules>
</rewrite>
You then need to write to this config file when ever your urls change, I do it when there is a page altered and saved through the CMS admin system, using a webservice to talk to the client website and instruct it to rebuild the file.
The only issue I have is this doesnt seem to want work in Visual Studio Development Webserver