Is 540 day rule applicable if h4 renewal is approved and i765 renewal pending

My h4 and ead expired on Sep. I have applied for renewal of both well ahead of expiry. My h4 got approved last week and and ead is still in process. Since I have new valid I94, will 540 day rule applicable for me now?
Can I start working?