Refactoring and improvement of ARP and manufacturing code.
Cosmetic fixes in EDCM sheet 11 data generation.
Improve handling of some incomplete datasets.
Reorganise EDCM rulesets.
Bug fix (loss factors for sheet 11).