Updated the Role class to use REXML Elements instead of creating xml strings manually.