Rewriting rules in formal.tex...