Urlrewriter for anime-index.org

This is a urlrewriter plugin for http://tracker.anime-index.org/rss.php
I suppose that can be improved, but my python skills aren't enough