refactored coupon standalone ui; added rules rebuild to coupon discount ui submit