Aded YAML support for configuration and rules.