I use spamassassin3.2.x

I want spamassassin to give a score according to reverse name of a source ip
address.
I think of doing for some dynamic ip addresses.

How can I do that as a rule ?