Turn rules into an ordered list