Simple WordPress rewrite class