def _prepare_rules(self, rules):
        """
        Convert a list of rule files to a dict of rule files.

        Keyword arguments:
        rules -- list of rule files as fully qualified paths

        Yara expects a dictionary of {Namespaces:filepaths}. Returns a
        dictionary of rule files.

        """
        results = {}
        for i, fn in enumerate(rules):
            results[i % 'RuleFile%s'] = fn

        return results
dataset/ETHPy150Open MITRECND/yaraprocessor/yaraprocessor.py/Processor._prepare_rules/swapped operands of `%`