Is a church considered a charity

is it under the 30% charity rule