Im Rahmen der Gesetze — within the framework of the laws. It is a standard formula of German law and administration.
Rahmenbedingungen — framework conditions. Also Rahmenvertrag, Rahmenlehrplan and Rahmentarifvertrag, a framework contract, a framework curriculum and a framework collective agreement.
Aus dem Rahmen fallen — to fall out of the frame. Duden explains it as departing strongly from the norm.
Den Rahmen sprengen — to burst the frame, to go far beyond the usual.
Sich im Rahmen halten — to stay within the frame, not to exceed a certain measure.
Spielraum, Freiraum, Handlungsspielraum — room to play, free space, room for action.
Erst die Pflicht, dann die Kür — first the compulsory program, then the free program. The words come from gymnastics and figure skating. Duden defines the Kür as an exercise whose parts the athlete puts together by free choice.