Ukrainian President Viktor Yanukovych has signed an anti-protest bill into law after the measure was rushed through parliament earlier in the week.