def deleteRuleOnLogicalInterface(self, logicalInterfaceId, ruleId):
        """
        Deletes a rule from a logical interface
        Parameters:
          - logicalInterfaceId (string),
          - ruleId (string)
        Returns: response (object)
        Throws APIException on failure
        """
        req = ApiClient.oneRuleForLogicalInterfaceUrl % (self.host, "/draft", logicalInterfaceId, ruleId)
        resp = requests.delete(req, auth=self.credentials, verify=self.verify)
        if resp.status_code == 204:
            self.logger.debug("Logical interface rule deleted")
        else:
            raise ibmiotf.APIException(resp.status_code, "HTTP error deleting logical interface rule", resp)
        return resp