metals shares end higher on gold price rally