Feature/optional configuration: fix #134

Make xxx_types and xxx_rules into optional. So, now we don't need to write empty objects and empty lists in a configuration.
Typos of configuration keys are reported as errors with the patch #489.