RLAF: Reinforcement Learning from Automaton Feedback