<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_exclusion(self, role, value):
 """Exclude item if `role` equals `value` Attributes: role (int, string):
 Qt role or name to compare `value` to value (object):
 Value to exclude """


        self._add_rule(self.excludes, role, value)