Add Mac OSX rules