automatic rifle with optical sight