You cannot use filters to apply rules for coinbase transactions. However you can apply rules on how the rewards are spent by checking the inputs of subsequent transactions that might spend them. Use the getfiltertxinput(...) callback to check the input for a transaction and look for the value of the coinbase field in that callback's response to know whether or not it's a coinbase output being spent.