Preserve formatting of code of read rules in dictionary