To answer the op's question, I invented rules in another thread asking a slightly different question
There's some math/logic in the first post to show why it's reasonable but the summarized rules can be found in this post
I hope that the op of this thread finds it useful.