Added support for a configurable reflexive term and an option to save records after applying rules.