To achieve this, use restrictions and two separate rate plans.
First, Prevent the Standard rate from being bookable outside 30 days by using the exact rate and setting the maximum advance to 30. This is the Flexible rate in the screenshot below.
Second, apply a 2 night minimum to the Early Bird rate and 30 to Minimum advance to prevent the rate from being booked within 30 days.