Compare data between different packets

Please give me a hand with one task. I need to compare Timestamp field between Goose protocol packets to prevent a replay attack. Can I solve it using Suricata rules?