SONARPLUGINS-2351 - Corrected a few rules.
SONARPLUGINS-2351 - Implemented directives and definitions rules.