Predicting hidden bulk phases from surface phases in bilayered Sr3Ru2O7