PROMOS: Sort rules by rule id to validate