New rule (and minor logic fix)

Added post_max_size rules and a minor logic fix.