Guided waves in rectangular integrated magnetooptic devices