Apache to Nginx rewrite rules conversion tool

Converting the rewrite rules from Apache to Nginx does not seem to be that difficult
However, I'd like to automate the job, as we are planning to migrate a number of sites.

• Is there any existing script or tool to perform this operation?
• If not, are there some specificities in the Apache / Nginx conventions that will make the regular expression conversions harder?
-