docs: amend code style rule for null pointers

refs #2101

Change-Id: Idc60c2a297a22c64186a3bb7f4a56f7e5445791f