Rules content don't show up in editor
Store rule file name for later reference for edit
Filtering of things in Add page
refactoring of sample rules