UNDERTOW-266 Only match the most specific security rules
WFLY-3537 Integer overflow when calculating max age