A Nonlocal Formulation of Rubber Elasticity