admin - bug fixes in coupon

coupons with no code are now not editable. codes are required.
Fixed a bug in rule editor.