I think you can do this with a custom column in the cart.
You can create a column like: QuantityDiscount = floor([Quantity]/3) * [Price]
Then create the rule to discount the total of the QuantityDiscount column instead of just discounting the 30.00.