public static function createTerminalExpression( core_kernel_rules_Term $term)
    {
        $returnValue = null;

        
        if ($term == null ) {
        	var_dump($term);
        	throw new common_Exception('paramaters could not be null');
        }
        $expressionClass = new core_kernel_classes_Class(RulesRdf::CLASS_URI_EXPRESSION,__METHOD__);
        $label = 'Terminal Expression : ' . $term->getLabel();
        $comment = 'Terminal Expression : ' . $term->getUri();
        $expressionInst = core_kernel_classes_ResourceFactory::create($expressionClass,$label,$comment);
      	$terminalExpressionProperty = new core_kernel_classes_Property(RulesRdf::PROPERTY_TERMINAL_EXPRESSION,__METHOD__);
        $returnValue = new core_kernel_rules_Expression($expressionInst->getUri());
        $returnValue->setPropertyValue($terminalExpressionProperty,$term->getUri());
        $returnValue->debug = __METHOD__;
        

        return $returnValue;
    }