tts/letter_to_phoneme.cpp: use shared_ptr<buffer> in rule_t instead of const char *.

This is to enable dynamic rule construction and loading rulesets
from a file, instead of depending on static data.