Rewrites paths using simple 'from => to' rules