Update: Add missing environments and fix sorting/grouping of rules (fixes #1307, #1308)