On nonlinear deformations of nonlocal elastic rods