reduced SQL errors while editing rule items
Added .gitignore to ignore subdirs not needed for plugin to work but only used as reference while coding
Added 2 helper functions to avoid code duplication