Update 1

Performance improved.
System for rules.