`.rule-container.major` should `break-after: page` but for some reason this is ignored. other minor improvements could be made based on the above.
.rule-container.majorshouldbreak-after: pagebut for some reason this is ignored.other minor improvements could be made based on the above.