Added legend generator
Fixed legend
Began work on a processing language to describe abbreviation positioning rules. It takes the form of a series of transforms that produce regular expression matches, which can then be inserted into the abbreviation engine.