update rebuild.sh
Fix dc:type subclasses