add parser for role directives