app: don't choke if no rewrite_rules are found