Wavy layers in rock deposits form due to folding, which occurs under high pressure and high temperatures. The rock layers bend and create the wavy appearance. Not sure if that is what you're looking...
The word rock is found in Old English (rocc) Norman French (roque) and Latin (rocca). In Old English the word for obelisk or standing stone is stanrocc; literally stone rock or standrock.