What are the rules of using leverage

What are the rules of using leverage

Power arm x power = resistance arm x resistance