code: public void addRule (String description, String... extensions) {
  		rules.add(new Rule(description, extensions));
  	}
docs: Adds new rule to {@link FileTypeFilter}
  @param description rule description used in FileChooser's file type select box
  @param extensions list of extensions without leading dot, eg. 'jpg', 'png' etc.