/**
   * To delete summarizes the rules However, it is only to remove argument minute passed from the
   * last page
   *
   * @param number The number you want to delete
   * @throws InterruptedException
   */
  public void Delete_Position(int number) throws InterruptedException {
    List<WebElement> elms;
    int set = 0;

    wr.Last();

    wr.Loading();

    // Until the number of deletion is zero
    while (0 < number) {
      // get the number of display of check box
      elms = wr.Wait_Elements("x-grid-row-checker", Element_Type.CLASS);

      set = elms.size();

      if (set == 0) {
        break;
      }

      while (true) {
        // Break When you reach up to the number you want to or delete all checked
        if (set == 0 || number == 0) {
          break;
        }

        wr.Check_Box(set);

        set--;
        number--;
      }

      wr.Delete();

      wr.Delete_OK();

      // Up to the number you want to delete you did not reach the last page
      if (set == 0 && number != 0) {
        Thread.sleep(200);

        wr.Last();
      }
    }

    return;
  }