private static void deleteRules(List<String> batchList,List<Rule> rulesToDelete){
  String deleteStatement="DELETE FROM " + RULES_TABLE + " WHERE RULE_INTERNAL_ID=%d";
  for (  Rule rule : rulesToDelete) {
    batchList.add(String.format(deleteStatement,rule.getUid()));
  }
}

private static void deleteRules ( List < String > batchList , List < Rule > rulesToDelete ) { String deleteStatement = "DELETE FROM " + RULES_TABLE + " WHERE RULE_INTERNAL_ID=%d" ; for ( Rule rule : rulesToDelete ) { batchList . add ( String . format ( deleteStatement , rule . getUid ( ) ) ) ; } }
the sql commands to be added to the batchlist for deleting the rules in rulestodelete .
