refactor
update rules header