Store and retreive hierarchical rules in Compact Phrase Table