Sum Rule Calculus