I can only imagine that you have a typo somewhere... Here is some working test code:declare TestOb ddeb : java.util.Dateendrule "Prix premier semestre" when TestOb(eval(ddeb.before(new java.util.Date(2010,3,1) ) ) ) thenend