RuleBase: Simplify reading rules files
* Use Path to resolve the 'etc/its' folder instead of using strings and
file separators.
* 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
values.
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.
Change-Id: I5bddb23af6caf38bcd791cec0e870b27827cc68a
2 files changed