Saving rules in local storage
Refactoring
Fixed initializing the color pickers for loaded rules