Updating bash script to only use --resource-rules flag when Mac OS X ver...

...sion is lower than 10.10.