Updated so that it works. For now it just pulls all the rules into
a hash, then prints them back out again.