Rule-based 3D Object Recognition from Range Images