On 16 August 2011 20:10, sam <parishi@gmail.com> wrote:
Thanks for your response. We are using drools 5.0.1. Is this a bug in the
rules engine?

No. What you wrote was not according to the syntax for constraints, known as "return value restriction". Check the Expert manual of your Drools version.

-W