An amount of Rs. 500 gets added to the principal amount at the end of every year for 4 years. If the principal amount is Rs.4500, find the rate of interest.