Rantoul man sentenced to 12 years