how is iron separated from rock