change rule references of :min, :max, :file, and :words

Added new field to Rule class for the updating :condition attribute and load the data from each rule into the class when applicable