The rules also vary depending on whether the cue ball or fifteenth object ball are resting on the table 's head spot . The rules also vary depending on whether the cue ball or fifteenth object ball are resting on the table 's .