Update of RPSLS.

Adds enum instead of integer compare and cleans a few typos.