title: how to set a string variable to some value in drool
body: <pre><code>public class Policy{
      String accntCode;
      String currency;
      String flag;
  } 
  </code></pre>
  
  <p>and getter setters are generated for each of them.</p>
  
  <p>Now I need to set the value of <code>flag</code> to <code>"Y"</code> if the <code>currency</code> is not <code>"INR"</code> and the <code>accntCode</code> starts with <code>"P"</code>. Kindly help me as I'm new to Drool. </p>
  
  <p>and I have created an object policy of class <code>Policy</code> using </p>
  
  <pre><code>Policy policy = new Policy();
  </code></pre>
  
  <p>also please tell me if there is any way to debug in eclipse for Drool as we do for java code.</p>