I'd imagine Rangers would have been paid for hire of the stadium and possibly the catering . It was all ticket.
According to the official Commonwealth games site there was a total of 45 rugby 7's matches played over 4 sessions.