Your bicycle is defined as a vehicle in the NSW Road Rules 2008. This means that the road rules that apply to cars and other motor vehicles also apply to cyclists. There are also some road rules that only apply to cyclists. check out this great summary of NSW laws from Redfern Legal Centre.
Main content area
Pedal Power: Cycling and the law in NSW