[DROOLS-162] Unsupported polymorphic declarations are not detected until runtime