Adds support for importing rules from files.