Framing by Linearity: Constructing Randomness Rationally