Add hg_rules.xml file. Update readme and clean up.