I can only imagine that you have a typo somewhere... Here is some working test code:

declare TestOb
    ddeb : java.util.Date
end

rule "Prix premier semestre"
    when
        TestOb(eval(ddeb.before(new java.util.Date(2010,3,1) ) ) )
    then
end