Rallies across Iran marked the 47th anniversary of the Islamic Revolution, with many showing support for the government.