<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def convert(self, value, _type):
 """ Convert instances of textx types and match rules to python types. """

        return self.type_convertors.get(_type, lambda x: x)(value)