Made the edit form for rules display customized fields based on the rule type (no JS yet, but getting there). Implemented date pickers instead of rails default dropdowns. Implemented a has_json_store mixin.