Update rect C module to conform to new coding conventions.