Update RhodesService.java

TO remove the dependency of rhodes and rhoelements,the code is directly put here