Add rules for Xcode and Cocoa Pods.