Code Rules + sql indexes