code: def add_process_work_item_type_rule(self, process_rule_create, process_id, wit_ref_name):
          
          route_values = {}
          if process_id is not None:
              route_values['processId'] = self._serialize.url('process_id', process_id, 'str')
          if wit_ref_name is not None:
              route_values['witRefName'] = self._serialize.url('wit_ref_name', wit_ref_name, 'str')
          content = self._serialize.body(process_rule_create, 'CreateProcessRuleRequest')
          response = self._send(http_method='POST',
                                location_id='76fe3432-d825-479d-a5f6-983bbb78b4f3',
                                version='5.0-preview.2',
                                route_values=route_values,
                                content=content)
          return self._deserialize('ProcessRule', response)
docs: AddProcessWorkItemTypeRule.
          [Preview API] Adds a rule to work item type in the process.
          :param :class:`<CreateProcessRuleRequest> <azure.devops.v5_0.work_item_tracking_process.models.CreateProcessRuleRequest>` process_rule_create:
          :param str process_id: The ID of the process
          :param str wit_ref_name: The reference name of the work item type
          :rtype: :class:`<ProcessRule> <azure.devops.v5_0.work_item_tracking_process.models.ProcessRule>`