add some rust spec back

but reworked a little