Arrangement of hyperplanes. I. Rational functions and Jeffrey-Kirwan residue