If you are evicted, he will have breached his duty to you to provide you with housing under the sublease.
You appear to be stating that you refused to pay rent following the prior service of a notice of eviction, you went to court, and you settled by agreeing to pay the rent you owe. What do you believe to be different, this time around?
Also, no, security deposits aren't rent. They're security deposits.

