<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {font-family:Arial;
        color:windowtext;}
p.ListParagraph, li.ListParagraph, div.ListParagraph
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:10.0pt;
        margin-left:.5in;
        line-height:115%;
        font-size:11.0pt;
        font-family:Arial;
        color:black;}
p.ListParagraphCxSpFirst, li.ListParagraphCxSpFirst, div.ListParagraphCxSpFirst
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        line-height:115%;
        font-size:11.0pt;
        font-family:Arial;
        color:black;}
p.ListParagraphCxSpMiddle, li.ListParagraphCxSpMiddle, div.ListParagraphCxSpMiddle
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        line-height:115%;
        font-size:11.0pt;
        font-family:Arial;
        color:black;}
p.ListParagraphCxSpLast, li.ListParagraphCxSpLast, div.ListParagraphCxSpLast
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:10.0pt;
        margin-left:.5in;
        line-height:115%;
        font-size:11.0pt;
        font-family:Arial;
        color:black;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi,</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I recently came across Drools. I gone through the
documentation and the examples provide are quite simple. I want to know if it
can be really applied to complex real world problems.</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Take for example,</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=ListParagraphCxSpFirst style='margin-right:0in;margin-bottom:0in;
margin-left:.25in;margin-bottom:.0001pt;line-height:150%;text-autospace:none'><font
size=2 color=black face=Arial><span style='font-size:11.0pt;line-height:150%'>If
a customer login within 5 minutes from two different locations, mark the user invalid.</span></font></p>

<p class=ListParagraphCxSpMiddle style='margin:0in;margin-bottom:.0001pt;
line-height:150%;text-autospace:none'><font size=2 color=black face=Arial><span
style='font-size:11.0pt;line-height:150%'>How can I write the above rule in
drools? I have the data when the user last logged in and the data of current
login. You can say two objects.</span></font></p>

<p class=ListParagraphCxSpMiddle style='margin:0in;margin-bottom:.0001pt;
line-height:150%;text-autospace:none'><font size=2 color=black face=Arial><span
style='font-size:11.0pt;line-height:150%'>&nbsp;</span></font></p>

<p class=ListParagraphCxSpLast style='margin:0in;margin-bottom:.0001pt;
line-height:150%;text-autospace:none'><font size=2 color=black face=Arial><span
style='font-size:11.0pt;line-height:150%'>May be my understanding is wrong but
looks like based on rule I have to pass all the required data. How can then at
real time new rules can be added?</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>For example,</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=ListParagraphCxSpFirst style='margin-right:0in;margin-bottom:0in;
margin-left:.25in;margin-bottom:.0001pt;line-height:150%;text-autospace:none'><font
size=2 color=black face=Arial><span style='font-size:11.0pt;line-height:150%'>If
the customer location is not on a list of valid locations, mark the user
invalid.</span></font></p>

<p class=ListParagraphCxSpMiddle style='margin:0in;margin-bottom:.0001pt;
line-height:150%;text-autospace:none'><font size=2 color=black face=Arial><span
style='font-size:11.0pt;line-height:150%'>&nbsp;</span></font></p>

<p class=ListParagraphCxSpMiddle style='margin:0in;margin-bottom:.0001pt;
line-height:150%;text-autospace:none'><font size=2 color=black face=Arial><span
style='font-size:11.0pt;line-height:150%'>For the above rule I need to pass a
list of valid locations as well.</span></font></p>

<p class=ListParagraphCxSpMiddle style='margin:0in;margin-bottom:.0001pt;
line-height:150%;text-autospace:none'><font size=2 color=black face=Arial><span
style='font-size:11.0pt;line-height:150%'>&nbsp;</span></font></p>

<p class=ListParagraphCxSpMiddle style='margin:0in;margin-bottom:.0001pt;
line-height:150%;text-autospace:none'><font size=2 color=black face=Arial><span
style='font-size:11.0pt;line-height:150%'>Now how about &#8220;Customer login
from more than 5 locations in the last one month&#8221;?</span></font></p>

<p class=ListParagraphCxSpMiddle style='margin:0in;margin-bottom:.0001pt;
line-height:150%;text-autospace:none'><font size=2 color=black face=Arial><span
style='font-size:11.0pt;line-height:150%'>&nbsp;</span></font></p>

<p class=ListParagraphCxSpLast style='margin:0in;margin-bottom:.0001pt;
line-height:150%;text-autospace:none'><font size=2 color=black face=Arial><span
style='font-size:11.0pt;line-height:150%'>Thanks</span></font></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=320
 style='width:240.0pt'>
 <tr>
  <td style='padding:0in 0in 0in 0in'>
  <p class=MsoNormal><b><font size=1 color="#4e81c4" face=Verdana><span
  style='font-size:8.0pt;font-family:Verdana;color:#4E81C4;font-weight:bold'>Mr.
  Bhangale Bhushan</span></font></b><font size=1 color="#4e81c4" face=Verdana><span
  style='font-size:8.0pt;font-family:Verdana;color:#4E81C4'><br>
  <i><span style='font-style:italic'>Associate Manager</span></i><br>
  <strong><b><font face=Verdana><span style='font-family:Verdana'>Kale
  Consultants Ltd.</span></font></b></strong><br>
  <a href="mailto:bhushan_bhangale@kaleconsultants.com"><font color="#4e81c4"><span
  style='color:#4E81C4;text-decoration:none'>bhushan_bhangale@kaleconsultants.com</span></font></a><br>
  tel: <a
  href="http://www.plaxo.com/click_to_call?lang=en&amp;src=jj_signature&amp;To=%2B91+%280%29206+608+3777&amp;Email=bhushan_bhangale@kaleconsultants.com"
  target="_blank" title="Click to call. Cheap rates &amp; no headset required!"><font
  color="#4e81c4"><span style='color:#4E81C4;text-decoration:none'>+91 (0)206
  608 3777</span></font></a><br>
  <a href="http://www.kaleconsultants.com" target="_blank"><font color="#4e81c4"><span
  style='color:#4E81C4;text-decoration:none'>http://www.kaleconsultants.com</span></font></a>
  </span></font></p>
  </td>
  <td style='padding:0in 0in 0in 0in'>
  <p class=MsoNormal><font size=3 face="Times New Roman"><span
  style='font-size:12.0pt'>&nbsp;</span></font></p>
  </td>
 </tr>
 <tr height=10 style='height:7.5pt'>
  <td colspan=2 height=10 style='padding:0in 0in 0in 0in;height:7.5pt'>
  <p class=MsoNormal><font size=1 face="Times New Roman"><span
  style='font-size:8.0pt'>&nbsp;</span></font></p>
  </td>
 </tr>
 <tr>
  <td colspan=2 style='padding:0in 0in 0in 0in'>
  <p class=MsoNormal><font size=3 face="Times New Roman"><span
  style='font-size:12.0pt'>&nbsp;</span></font></p>
  </td>
 </tr>
</table>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

<BR><PRE>


Disclaimer: This email (including any attachments) is intended for the sole
use of the recipient/s and may contain material that is CONFIDENTIAL. Any
unauthorized disclosure / copying / distribution or forwarding of this message 
or part is STRICTLY PROHIBITED. If you have erroneously received this message,
please delete it immediately and notify the sender. No liability is assumed for
any errors and/or omissions in the contents of this message. Information in 
this message that does not relate to the official business of this Company
shall be understood as neither given nor endorsed by it. If verification is
required please request a hard-copy version. 

To know more about Kale Consultants, visit www.kaleconsultants.com 

-=-=-=-=-=-=-=-=-=-


</pre><BR></body>

</html>