Enforced rules for immutable array edits