An excellent idea. That rifle cost you a nice chunk of change, I'm sure. I for one am not inclined to risk corrosion damage to a rifle that represents a substantial investment, and I want it to be clean and functioning reliably at all times, because you never know when you might need it...NOW...at three in the morning when you hear one of your windows getting broken out.
If you're new to AR's, you definitely want to get some training on the cleaning requirements. There are things about AR's that are not familiar to those who haven't cleaned guns of this type before. Like how to remove the firing pin, and remove the bolt from the carrier, and where the carbon builds up.
If you don't know it, you have to learn it.
I think that info is available here at AR15.com.
I clean my AR's after every shooting session, no matter how many shots I fired. Usually that'll be several hundred, so a pretty thorough cleaning is necessary.
The hardest part of all is cleaning the barrel extension behind the lugs.
CJ