Changes the structure in some rules Order the packages rules for typenotification
Changes structure and reorder packages rules