Rule not working correct after change a item

Yes. Editing an file created Item causes a loss of “connection” to file created rule triggers.

For now, to recover you edit/reload the rules file.

Avoid doing that if you can, it generally causes more problems at the next restart until populated again.