As you asked for the rules, here's a link that may help