# Single quotes around math?

I am using the syntax package, and I want to define a grammar like:

Rule = Head -> Tail


but when I do this:

\begin{grammar}
<rule> ::=  <head> $\rightarrow$' <tail>