added text compiler (only real change from openfst is assumption if additional field for ruleid)