1. A method of determining one or more patterns in a sequence of symbols, wherein the method comprises the steps of: a) analysing the sequence of symbols, such that any patterns of two symbols are replaced by a rule if: i) the rule does not comprises a repeated combination of two symbols; and ii) the rule occurs more than once in the sequence of symbols.