The Department of Defense is working to develop rules of engagement for online warfare, according to Pentagon officials.