How to customize via spacing rules for individual layers?

Maybe this post will help you figure out how to do what you want to do:

the whole thread is full of useful information about it.