To the letter has 2 different meanings across 1 category:
Adverb
in every detail
"the new house suited them to a T"
Literally, exactly, following the rules as written.