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.