Add customizable ordering to rules.

Uses jQuery-UI for drag-and-drop ordering.

Note that new rules will be dropped in at the beginning by default.
Merge pull request #138 from jthemphill/feature/ordered_rules

Add customizable ordering to rules.