code: public static AT_Row createRule(TableRowType type, TableRowStyle style){
  		Validate.notNull(type);
  		Validate.validState(type!=TableRowType.UNKNOWN);
  		Validate.validState(type!=TableRowType.CONTENT);
  		Validate.notNull(style);
  		Validate.validState(style!=TableRowStyle.UNKNOWN);
  
  		return new AT_Row(){
  			@Override
  			public TableRowType getType(){
  				return type;
  			}
  
  			@Override
  			public TableRowStyle getStyle(){
  				return style;
  			}
  		};
  	}
docs: Creates a new row representing a rule.
  @param type the type for the rule row, must not be null nor {@link TableRowType#CONTENT} nor {@link TableRowType#UNKNOWN}
  @param style the style for the rule row, must not be null nor {@link TableRowStyle#UNKNOWN}
  @return a new row representing a rule
  @throws {@link NullPointerException} if type or style where null
  @throws {@link IllegalStateException} if type or style where unknown or if type was {@link TableRowType#CONTENT}