index src style rules (closes #4006)