Phrase indexing & applying lexical rule working