The action that would violate laboratory safety rules is:
wearing open-toed shoes when chemicals are being used.
The other actions listed (wearing goggles, wearing gloves, and tying long hair back when near an open flame) are actually safety precautions that help prevent accidents and injuries in the laboratory.