There are no special rules, and that is the point
Where an employee is dismissed over something they posted, the tribunal asks the same question it asks about any conduct dismissal. Did the employer genuinely believe the employee was guilty of misconduct, did it have reasonable grounds for that belief after a reasonable investigation, and did dismissal fall within the range of responses a reasonable employer might have adopted?
That test can cut either way. In British Waterways Board v Smith, the Employment Appeal Tribunal upheld the dismissal of an employee who had posted derogatory comments about his supervisors on Facebook, and had boasted about drinking while on standby, despite the posts being two years old and defended as banter. The tribunal below had substituted its own view. The EAT said that was not its job.