Refactor RuleEngine and Rule,
remove ValueIterator and make Rule responsible for its values
Refactor mail loop
rename methods
rename test methods
Merge pull request #1 from dpolivaev/master

Main loop is created