Code for a simple form front end for creating and editing pricing rules in the Drano project