Adding rules from Phil to make things work on Mavericks