How does one use fancier versions of the rewrite tactic when defining tactics or tactic notations?
Both of the following produce a Error: Syntax error: '.' expected after [vernac:command] (in [vernac_aux]).
Ltac rewrite_right n H :=
rewrite <- n H.
Tactic Notation "rewrite_right" integer(n) hyp(H) :=
rewrite <- n H.