Analysis of the Portuguese building regulation system