Brick masonry arches: historical rules and modern mechanics