Minor tidy up.
Tidy up EDCM rules (sizing etc.).