Military rules guide hearing in WikiLeaks case