Implemented private method getRuleIndexByColor, refactored getRuleByColor, and updated addRule to overrite a rule if another rule is added with the same color... aka, colors must be unique)
Added a } and added seed variable
Added a LOT of docs
So much stuff. Sorry for crap messages