Apparently, the one-language rule was voted by parliament, but vetoed by the president. Too late though, the damage was done.
Of course, most of the occupiers of the square were not violent. But the minority were and were at the forefront of the barricades, and out of 20,000 people, a violent and extremist minority can still be a lot of people. The Opposition, supported my most of the protesters and perhaps western Ukraine, lost control to the extremists after the Opposition signed the EU sponsored agreement. I saw the video where that boxer head of the main opposition party, stood there shocked with his mouth open, while one of the extremist leaders was shouting through a megaphone to the crowd that he didn't care what the agreement said, Yanukovych had until 10 AM to get out of town or else they were going to storm parliament.
At best, Ukraine has to deal, culturally and economically with both the EU and Russia in the future. Otherwise, it's going to split.