Added code for parsing of config from YAML files. Added Config and Rule classes