By means of an algorithm for finding rules in data, it is shown that t
he genetic code may be written as a codon-tree, independent of amino a
cid assignments. Considering this tree as a structural description, a
low-complexity, context-free grammar of the code is built and its gram
mar complexity and grammar redundancy calculated. The relationship bet
ween the codon-tree and the hierarchy of amino acid categorisations pr
eviously introduced by the author is investigated. Interpreting the ob
tained code's structure as a record of its evolution, some inferences
about the divergences of the code series are made.