SELECT rule as "rule: Json<Rule>" FROM email_rule ORDER BY sort_order