The binary file defining the rule is encoded as follows:
Byte 0 = k (neighbourhood size), the rest of the rule table (from 0 to n-1) is set as bits in successive bytes .