The 'end loop' was being misclassified as the end of a procedure.
This would result in a cascade of issues in the fixed code.
1) Updated tests to include a for loop within a procedure within an architecture declarative region to replicate the issue
2) Updated code to not classify the 'end loop' as the end of a procedure.
Completed bug fix:
1) Added rule procedure_006
a) Added documentation
b) Added test
c) Added rule
2) Fixed misclassification of procedure parameters as variable assignments
a) Enhanced tests for procedures
b) Enhanced tests for variable_assignments
c) Fixed variable_assignment classifier to ignore component parameters