California judge warns Apple, Samsung to follow court rules