type hint container
Update comments for add_rule
Remove edit_rule from the operator