Solar flares result from some electromagnetic instability that occurs within regions of relatively strong magnetic field in the Sun's atmosphere. The processes that enable and trigger these flares remain topics of intense study and debate. I analyze observations of 289 X-and M-class flares and over 2500 active region magnetograms to discover (1) that large flares, without exception, are associated with pronounced high-gradient polarity-separation lines, while (2) the free energy that emerges with these fibrils is converted into flare energy in a broad spectrum of flare magnitudes that may well be selected at random from a power-law distribution up to a maximum value. This maximum is proportional to the total unsigned flux R within ∼15 Mm of strong-field, high-gradient polarityseparation lines, which are a characteristic appearance of magnetic fibrils carrying electrical currents as they emerge through the photosphere. Measurement of R is readily automated, and R can therefore be used effectively for flare forecasting. The probability for major flares to occur within 24 hr of the measurement of R approaches unity for active regions with the highest values of R around Mx. For regions with Mx, no