'Initialize RuleProcessor.
Example rules can be found at:
:class:`keystone.tests.mapping_fixtures`
:param mapping_id: id for the mapping
:type mapping_id: string
:param rules: rules from a mapping
:type rules: dict'

def __init__(self, mapping_id, rules):

    self.mapping_id = mapping_id
    self.rules = rules
