I have two rules below; the first fails to fire for all values of photo (photo is a boolean field). The second rule give the correct behavior when photo is true and false. I am new to drools and could be wrong but this feels like a bug. Can anyone give me a reason for this behavior. <br>
<br><br><b>BAD RULE:</b><br># rule values at C137, header at C132<div><br>rule "Photochromatic_137"<br>        when<br> RxOrderType(product[0].lens.material.photo == true, product[0].lens.design.lensType=="SV")<br>
        then<br> addResult("e1",results);<br> System.out.println("Single Vision-Photo");<br>end<br><br><br><b>GOOD RULE (notice the - true &&):</b><br># rule values at C137, header at C132<div><br>
rule "Photochromatic_137"<br>        when<br> RxOrderType(true && product[0].lens.material.photo == true, product[0].lens.design.lensType=="SV")<br>        then<br> addResult("e1",results);<br>
System.out.println("Single Vision-Photo");<br>end<br><br><br>Creighton Kirkendall</div></div>