correct order of subtypes
normalize scripts
replace REBEL_PERM_CARD_FROM_LIBRARY_CMC_AT_MOST and MERCENARY_PERM_CARD_FROM_LIBRARY_CMC_AT_MOST with permanentCardFromLibraryMaxCMC