code-style: add rule for range-based for

refs #2113

Change-Id: I0e9628892f4d2acff8d32f8e824b3481d23b97cd