Update header length after each parsed rule, as it might change when parsing SPI...