RuleBase: Simplify reading rules files
* Use Path to resolve the 'etc/its' folder instead of using strings and
* Simplify the configuration file name pattern.
* In the tests, give to the Enum defining the types of config files the
task of building the config file name and avoid switching over its
Given the path normalization, we no longer need to get the canonical
path when warning about not configuration files being present, which
simplifies further the code.
2 files changed