Two South Salt Lake police officers have been determined to be legally justified in shooting and killing a man armed with a rifle who fired at the officers.