Bilel Mohsni scored twice as Rangers claimed the 32nd win of their Scottish League One campaign with a 2-1 victory over Ayr United at Ibrox.