This document analyzes the onset of convection of a Maxwellian fluid in a porous medium with variable gravity using the positive operator method. It presents the governing equations for Rayleigh-Benard convection in a viscoelastic fluid-saturated porous medium under variable gravity. It formulates the linearized perturbation equations and boundary conditions as an eigenvalue problem. It then uses the method of positive operator to establish that the principle of exchange of stabilities is valid when the gravity field is non-negative throughout the fluid layer. The positive operator method generalizes the idea of a positive matrix to integral operators with non-negative kernels.