Unable to get data in an object in .drl file
===

I have two rules in my .drl file

    rule "Monitor"	
    when
        s : Test1( type == Test1.X )    
	    n : Test123()
    then
        n.monitor();        
        drools.setFocus("Rules");
    end

    rule "Utilization"
    agenda-group "Rules"
    when
        s : Test1( type == Test1.X , newValue > oldValue )
        n : Test123()
    then
        //Do something
    end

   monitor() is a method in the class Test123, and this method sets values to some variables in the class Test1, by using Getters and Setters. And this method returns an object 'object'.   In my second rule I want to compare values (newValue > oldValue) in the object 'object'. How can I perform this operation. 
