AG: Rapid City police officer justified in fatal shooting