check for brew installed before apply rules