'Create a RuleTarget that applies to objects of type target_type.
Keyword arguments:
target_type -- the type of object this will apply to
values -- a dict of the values for each rule component
approve_banned -- whether to approve banned users\' posts'

def __init__(self, target_type, values, parent, approve_banned=True):

    self.target_type = target_type
    self.parent = parent
    if (not values):
        values = {}
    else:
        values = values.copy()
    self.set_values(values)
    self.match_patterns = self.get_match_patterns(values)
    self.matches = {}
    self.approve_banned = approve_banned
