added additional differentiation between program/directive

Signed-off-by: Predrag Kanazir <predrag@arraystudio.com>
Merge branch 'master' of github.com:reciprocity/grc