i sat on a rock ledge , within the pillared entranceway of an imposing , partially ruined structure they call the 'palace ' , for no particularly good reason except it is n't a pyramid and does n't seem to be a temple .