Updated gem.sql added new table GEM_RULES and populated it with the Taxonomy rules. UI needs to be changed to use this.