rename rules -> matches
refactoring: remove '.source' related code from plugin and do it in the index.js & update index/test html files