ANN changes.

Added some more stuff to the ANN; mainly getters and setters. Removed
rule sorting in the rule classes, to preserve the ordering of the rules
in the genetic algorithm.