Rules are written in the form of
FROM -> TO
Each step, every occurrence of “FROM” will be replaced by “TO”. The starting string will always be “S”.
In the resulting string, the only symbols with meaning are “+” (rotate right), “-” (rotate left), “F” (move forward), “[” (store current position) and “]” (restore last stored position).