Rangers midfielder Joey Barton is charged with breaking rules relating to gambling on football matches.