how to add credits each month with rules?
Check out Rules Example which is an example module showing how to integrate custom module with rules.

You can add a new parameter (e.g. condition - check if this is first day of the month) and perform all checks/actions you need there.