'Construct a new Rule that changes a token\'s tag from
C{original_tag} to C{replacement_tag} if all of the properties
specified in C{conditions} hold.
@type templateid: string
@param templateid: the template id (a zero-padded string, \'001\' etc,
so it will sort nicely)
@type conditions: C{iterable} of C{Feature}
@param conditions: A list of Feature(positions),
each of which specifies that the property (computed by
Feature.extract_property()) of at least one
token in M{n} + p in positions is C{value}.'

def __init__(self, templateid, original_tag, replacement_tag, conditions):

    TagRule.__init__(self, original_tag, replacement_tag)
    self._conditions = conditions
    self.templateid = templateid
