title: How to access the variables assigned in a drl file in class which invoked the drl
body: <pre><code>package rules
  
  import beans.LoginBean;
  import beans.MessageBean;
  
  rule "Hello World"
      when
          $a : LoginBean();
          $b: MessageBean();
          eval($a.getUserName().equals("admin"))
      then
         $b.setMessage("Admin logged in");
  end
  </code></pre>
  
  <p>How do i access the value set here by a class which called the rule class</p>