Rename Logic to State.
Update README to reflect use of task method. [doc]
Fix Kernel#cli options parsing. [bug]
Use rules.rb as standard rules file.