Renato - I think maybe we have it backwards.
When you say "I want to transform" - it's not clear which URL will be activated on the browser, and which will be activated on the server.
Which is which?
Do you want the .php URL to be shown in the browser? Then you should apply the rule offered by withtao.
But I think you want the .html URL in thre browser, and you want to RUN the .php script on the server. that is a different rule.
Try the TestDriver.exe tool, in the download. It will help you to visualize what is happening.