Added default implementations for editor-analyze and editor-save.
Moved several editor-common rules to editor library that were needed for these default implementations.