simplify interface.  add drag handler. improve color.  provide rule frequency feedback
fix menu click misalignment
add decode method to mirror the serialize method.