class implementation to the "Iterator" interface
added class description
"setRule" method name was renamed to "addRule"