Chrome extension boilerplate to define redirection rules