Add rules for editing