Removed unnecessary trims.
Added trim sanititation of promo code discount rules.