Dynamic Management of Forwarding Rules in a T-SDN Architecture with Energy and Bandwidth Constraints