Consider role function for equality operator
Refactor filter functions inside Role class

There's no need for the closure in these functions.