rewrite.dll was a downloaded add-on for IIS 7 and 7.5. It could be that when you repair it, it goes out an picks up the rewrite.dll from 2012 (I'm just guessing). You might want to take your question to the IIS folks over at iis.net.
They are the experts in all things IIS.
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.