//Adding metadata here, seems redundant to add a new widget for metadata. Model does handle meta data separate.
RuleMetadata[] meta = model.metadataList;
if ( meta.length > 0 ) {
HorizontalPanel hp = new HorizontalPanel();
hp.add( new SmallLabel( GuidedRuleEditorResources.CONSTANTS.Metadata2() ) );
layout.addRow( hp );
}
for ( int i = 0; i < meta.length; i++ ) {
RuleMetadata rmd = meta[ i ];
layout.addAttribute( rmd.getAttributeName(),
getEditorWidget( rmd,