add rule of cocoapods