working on TTS.ts and representing the inference rules of TTS in machine readable form