Add function to handle extra fixed header and session rules