add table edit rule