public RuleNet add(String p_name,int p_subnet_number,boolean p_contains_plane){
  int new_net_no=net_list.size() + 1;
  if (new_net_no >= max_legal_net_no)   throw new IllegalArgumentException("Nets.add_net: max_net_no out of range");
  RuleNet new_net=new RuleNet(p_name,p_subnet_number,new_net_no,this,p_contains_plane);
  net_list.add(new_net);
  return new_net;
}

public RuleNet add ( String p_name , int p_subnet_number , boolean p_contains_plane ) { int new_net_no = net_list . size ( ) + 1 ; if ( new_net_no >= max_legal_net_no ) throw new IllegalArgumentException ( "Nets.add_net: max_net_no out of range" ) ; RuleNet new_net = new RuleNet ( p_name , p_subnet_number , new_net_no , this , p_contains_plane ) ; net_list . add ( new_net ) ; return new_net ; }
adds a new net with default properties with the input name . p_subnet_number is used only if a net is divided internally because of fromto rules for example . for normal nets it is always 1 .
