update README.md
add event to debug mode toggle
change event nome for updating style
refactoring: move check for max length into individual function
refactoring: rename 'rule' to 'match'
bump up to v0.2.7