rule for replacing section image