How is the rule for the interaction between magnetic poles similar to the rule for the interaction between electrically charged particles?