Fix TabRule and tests, change rules order in Pypograph.