otisdog wrote a post a while back (I7 Line spacing rules EXPLAINED (with quick reference chart)) which goes into detail. It includes some phrases for “follow a rule, avoiding rulebook breaks” which can be used in GEP to avoid these errors.
Dannii’s work on the next I7 release includes verifying that GEP does this in all the necessary places.