- added rulesChanged()