add rewrite_rule for submit that was missing after the merges