Politics and Islam

Re: Politics and Islam

How were the Shariah rules revealed? I thought they were man-made based upon rules already set forth in the Quran and from the Prophet's own way of dealing with different situations, and then modified over years to adjust for different cases that arose.