Hi Pardeep,
you cannot nest rules. You can solve the situation with 2 rules like:
<br>
<pre>rule "big amount discount"
  when
    Basket( total > 4000 )
    discount: Discount()
  then
    discount.percentage = discount.percentage + 20;
end

rule "preferred time discount"
  when
    Clock( 6 < time < 9 )
    discount: Discount()
  then
    discount.percentage = discount.percentage + 20;
end</pre><br>
Please note that I did not use correct Drools language notation, it is just the example how to solve your problem.
<br><hr align="left" width="300">
View this message in context: <a href="http://www.nabble.com/How-to-create-nested-rules-in-Drool-Guvnor-tp24943230p24954552.html">Re: How to create nested rules in Drool Guvnor</a><br>
Sent from the <a href="http://www.nabble.com/drools---user-f11823.html">drools - user mailing list archive</a> at Nabble.com.<br>