Added basic CRUD for rules. Rules selector dynamically pulls rule names from files in a lib subdirectory, and the form supports passing in arbitrary partials that contain extra form fields (to be used based on rule type).