Added tests and a description for the new added function in permRule

EV-531