8326990 framework: Improve and unify error messages

Authored and Committed by vmojzis 3 years ago
    framework: Improve and unify error messages
    
    Fix hard-to-understand error messages (ALLOW and DONTAUDIT) and improve
    punctuation.
    Fix condition for "bad type class" error.
    
    Fixes:
        https://bugzilla.redhat.com/show_bug.cgi?id=1653833