Kilmarnock Rugby Club hosted a major charity match as the Muirhead Barbarians raised nearly £8,000 for Hearts and Balls and stadium repairs.