Bug 210507 Enhance Report engine to support multiple view
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java
* create a highlight rule from a structure handle.
	 * 
	 * @param ruleHandle
	 *            rule in the MODEL.
	 * @return rule design, null if exist any error.
	 */
	protected HighlightRuleDesign createHighlightRule(
			HighlightRuleHandle ruleHandle, String defaultStr )
	{
		boolean isListStyle = ModuleUtil.isListStyleRuleValue( ruleHandle );
		HighlightRuleDesign rule = new HighlightRuleDesign( );
		if ( isListStyle )
		{
			rule.setExpression( ruleHandle.getOperator( ), ruleHandle
					.getValue1List( ) );
		}
		else
		{
			rule.setExpression( ruleHandle.getOperator( ), ruleHandle
					.getValue1( ), ruleHandle.getValue2( ) );
		}
		String testExpr = ruleHandle.getTestExpression( );
		if ( testExpr != null && testExpr.length( ) > 0 )
		{
			rule.setTestExpression( testExpr );
		}
		else if ( ( defaultStr != null ) && defaultStr.length( ) > 0 )
		{
			rule.setTestExpression( defaultStr );
		}