[PATCH v2 14/15] fwd_rule: Move forwarding rule text formatting to common code