Adding rules summary function.
Moving Redirect type tag.
Factoring out BibTeX stuff.