Sped up rules::reverse().