Version 1.2 - Added rewrite rules