Selector added to rule.js
working selector, separate cycle
cycle reset
save and edit rules
bugfixes and css changes