Parses simple Apache mod_rewrite directives into JSON