rules: fix typo

Fix typo causing exception during update.