Canonical Encoding Rules