modified discount_rules example to be correct json