Bug 147676 [regression]Visibility set in the first col will affect the second col
Description: Visibility set in the first col will affect the second col Steps to reproduce: 1. Insert a grid(3*3), insert contents to each cell. 2.Set the first col to hide all in visibility and preview Expected result: Only the first col is hidden. Actual result: The second col is hidden, too. If you set the second col in step2, the third col will disappear.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java
MapRuleHandle ruleHandle = (MapRuleHandle) iter.next( );
			MapRuleDesign rule = createMapRule( ruleHandle, defaultStr );
			if ( rule != null )
			{
				map.addRule( rule );
			}
		}
		if ( map.getRuleCount( ) > 0 )
		{
			item.setMap( map );
		}
	}
	/**
	 * create a map rule.
	 * 
	 * @param obj
	 *            map rule in DE.
	 * @return map rule in ENGINE.
	 */
	protected MapRuleDesign createMapRule( MapRuleHandle handle,
			String defaultStr )
	{
		MapRuleDesign rule = new MapRuleDesign( );
		rule.setExpression( handle.getOperator( ), handle.getValue1( ), handle
				.getValue2( ) );
		String displayText = handle.getDisplay( );
		rule.setDisplayText( handle.getDisplayKey( ), displayText == null
				? ""
				: displayText );
		String testExpr = handle.getTestExpression( );