On rational invariants of a set of symmetric matrices