Added an approach with a more complex Section object which supports rule weights.