some rule reordering
added -d to dump list of rewrite rules to stdout