Caitlin Hayes scored in the 99th minute with the last kick of the game to equalise against Rangers in the Scottish Women's Premier League.