# Single quotes around math?

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

<rule> ::=  <head> $\rightarrow$' <tail>