not a merge-stopper but you should consider testing `getRulesFromFile` with a mocked file-system.