First stab at making a Chrome Extension.
Convert rules to array of dictionaries.

This makes the data more self-describing and we're about to move it out of this
file, so that's going to become more important.
Load rules from a separate, local JSON file.