[DROOLS-611] Metadata and metaclass