readRule function

reads a quadrature-rule from a text file