[AN] Save settings after entity-based rule addition.

Fixes #1423.