Updated the code to the PEP 8 conventions. Removed a useless thread in the Display module and the RuleGenerator module