updating tab-rule for python