foo bar rules