Add rule model and api
Add info to rule types for Settings config
Add basic rule generator

Add a very basic rule generator.  The rule params field currently
accepts json as input.  In the near future, I need to make some
javascript to generate this json and show and hide the various UI for
the different rules.  Still need to add update, show, and delete
actions.
Update array name to more accurately reflect updated purpose of storing any general value
Merge conflicts
Merge conflicts
run migration
Add paranoid delete and edit/update to rules resource
Fix merge conflict
Add basic rule generator UI

Add basic ui generator for rules.  Still a few issues
* Need to save the rule type constant name instead of the index of the
rule type array.
* Need to add another rule and build a mechanism for saving the corret
 rule_params hidden field.
* Need to factory out re-writing the rule types and load from
* Settings.yml
Get rid of un-used method in rules ctrl
Load rule types form settings yaml for angular rules controller
Set rule type to constant name instead of array index of rule types
Remove old rules controller that is not erb
Add instrument timing rule generator
add description to images
add ability to drag images around to reorger them
add directions for image uploader
add pagination to active_admin pages
Add instrument survey limit per minute rule