Implement the rest method of categorylogic
Implement the rest method of categorylogic