is there any rule to apply pca to the imbalance data?
PCA is method for unsupervised learning so you shouldn't add the label. 

Imbalanced data refers to the label.

So for me it does not make too much sense to talk about PCA and imbalanced data.