title: Drools json Api call which contains Date (rule engine)
body: <p>I am trying to call Drools Json api and one of my facts is of type Date. I am not sure how to construct the json string for that. !!!!????????? :(</p>
  
  <p>here is what I have:</p>
  
  <p>my drl file:
  package com.beachmint.common</p>
  
  <p>declare Order
          orderId: Integer
          customerId: Integer
          total: java.math.BigDecimal
          cartId: Integer
          createdAt: java.util.Date
          productIds: java.util.ArrayList
  end</p>
  
  <p>declare Customer
          customerId: Integer
          referrerId: Integer
          customerStatus: Integer
          createdAt: java.util.Date
  end</p>
  
  <p>declare Points
          status: String
          count: Integer
          customerId: Integer
          reason: String
          ruleId: String
  end</p>
  
  <p>declare Event
          name: String
          storeId: Integer
  end</p>
  
  <p>rule 'Purchase Promo'
  dialect "mvel"
  when
                  e : Event( name matches "Purchase" )
                  o : Order( total > 0 , createdAt > "08-Oct-2012" , createdAt &lt;= "01-Jan-2013" )</p>
  
  <p>then
                              p.setCount(  p.getCount() + 2000 );</p>
  
  <p>I tried sending the date as UTC and string ('y-M-d) format.</p>
  
  <p>createdAt":{"date":"2012-Jan-01"}
  createdAt": 1351637683
  createdAt": "2012-Jan-01"</p>
  
  <p>none of these work :(</p>