Yes, this can hardly be formalized. Any rule will not be absolute. Practice can not be substituted by rules.

Though... :)

"к" is used when the ultimate destination of motion is referred to. ...