Updated config handling, new Rule type for adding a field, and multiple conditions.